208 Commits

Author SHA1 Message Date
Staffan Larsen
92187d7583 8027630: SIGSEGV in const char*Klass::external_name()
Reviewed-by: coleenp, sspitsyn, mgronlun
2013-11-18 10:20:13 +01:00
Calvin Cheung
3a87356f24 Merge 2013-10-30 14:02:27 -07:00
Alejandro Murillo
2fc1606df2 Merge 2013-10-25 13:29:17 -07:00
Jaroslav Bachorik
76ac5b0c28 8027294: Prepare hotspot for non TOD based uptime counter
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.

Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
Alejandro Murillo
0ce7855814 Merge 2013-10-22 13:56:26 -07:00
Dmitry Samersoff
f6a5cb56ec 8026930: In ManagementAgent.start it should be possible to set the jdp.name parameter (hotspot part)
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 21:29:57 +04:00
Lana Steuck
c71f3cdbe6 Merge 2013-10-17 14:20:57 -07:00
Chris Hegarty
fafe7da1e5 Merge 2013-10-13 21:14:04 +01:00
Calvin Cheung
6e756e193c Merge 2013-10-11 22:22:19 -04:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
Lois Foltan
27c290a969 8026041: JVM crashes with assert "assert(is_updated()) failed: must not be clear" with -XX:+PrintGCApplicationConcurrentTime in -Xcomp mode
Prior to printing the time interval in RuntimeService::record_safepoint_begin(), check first that VM initialization is complete.

Reviewed-by: coleenp, dholmes, sla, ctornqvi
2013-10-11 15:33:08 -04:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Fredrik Arvidsson
7f0264f548 8024425: VM_HeapDumper doesn't put anonymous classes in the heap dump
Switched from using SystemDictionary to using ClassLoaderDataGraph to get the anonymous classes included.

Reviewed-by: sla, sspitsyn
2013-10-11 14:08:02 +02:00
Stefan Karlsson
2cbd654963 8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Christian Thalinger
cd7bfac363 8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Yasumasa Suenaga
5bc8cd08aa 6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions"
Reviewed-by: sla, dsamersoff
2013-09-22 06:31:43 -07:00
Daniel D. Daugherty
80b2573b1c Merge 2013-09-20 18:19:07 -07:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Erik Helin
2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Peter Allwin
86d8a77b06 7196151: ParserTest SEGv on solaris
Reviewed-by: sla, coleenp, ctornqvi, dsamersoff
2013-09-17 17:16:28 +02:00
Kevin Walls
972efc6f0a 8023478: Test fails with HS crash in GCNotifier
Reviewed-by: sla
2013-09-09 10:01:09 +01:00
Zhengyu Gu
34d47bd672 8022798: "assert(seq > 0) failed: counter overflow" in Kitchensink
Removed incorrect assertion, sequence number can overflow

Reviewed-by: dholmes, kamg
2013-09-04 08:55:08 -04:00
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Chris Hegarty
e3149a4bcb Merge 2013-08-30 09:50:49 +01:00
Stefan Karlsson
7ade7987a0 8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.

Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Vladimir Kempik
f3ca3801d9 8020530: Non heap memory size calculated incorrectly
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Chris Hegarty
972c8c9fb0 Merge 2013-08-15 21:33:37 +01:00
Erik Helin
e5f563bfef 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace
Reviewed-by: stefank, sjohanss
2013-08-19 18:17:58 +02:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Sergey Gabdurakhmanov
b2e34525ab 8020789: Disable exporting of gc.heap_dump diagnostic command
Reviewed-by: fparain, ahgross
2013-08-09 11:03:33 +04:00
Kevin Walls
af0b21a0ad 8020943: Memory leak when GCNotifier uses create_from_platform_dependent_str()
Reviewed-by: mgerdin, fparain, dcubed
2013-08-02 12:26:46 +01:00
Christian Tornqvist
00b23c2eb8 8014294: Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle

Reviewed-by: coleenp, sspitsyn
2013-08-01 22:20:00 +02:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Joseph Provino
b573023374 Merge 2013-07-16 12:20:08 -04:00
Joseph Provino
b5c0da41b9 8011569: ARM -- avoid native stack walking
ARM compilers do not emit FramePointer on each native frame by default

Reviewed-by: dholmes, zgu
2013-07-16 10:55:48 -04:00
Zhengyu Gu
4382d40555 8011760: assert(delta != 0) failed: dup pointer in MemBaseline::malloc_sort_by_addr
Some of qsort implementation on Linux x86 compares element to itself, which is  mistakenly treated as duplicate pointer

Reviewed-by: dcubed, acorn
2013-07-09 13:18:16 -04:00
Zhengyu Gu
3e8c767620 8016074: NMT: assertion failed: assert(thread->thread_state() == from) failed: coming from wrong thread state
Uses os::NakedYield() on Solaris instead of os::yield_all()

Reviewed-by: acorn, coleenp, hseigel
2013-07-04 06:24:08 -04:00
Christian Tornqvist
e67d425245 Merge 2013-07-12 20:47:23 +02:00
Peter Allwin
221308625d 7162400: Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand

Reviewed-by: dcubed, dholmes, sspitsyn, mgerdin, ctornqvi, dsamersoff
2013-07-12 18:43:27 +02:00
Zhengyu Gu
859de70b8a Merge 2013-07-12 04:35:52 -07:00
Zhengyu Gu
9ff3405151 8012241: NMT huge memory footprint, it usually leads to OOME
Enforce memory limitation on NMT to prevent JVM OOM

Reviewed-by: acorn, dcubed, minqi
2013-07-11 13:15:12 -04:00
Nils Loodin
5fe1de50f1 Merge 2013-06-28 14:05:27 +02:00
Erik Helin
604a75ff30 8013590: NPG: Add a memory pool MXBean for Metaspace
Reviewed-by: jmasa, mgerdin
2013-06-26 16:58:37 +02:00
Zhengyu Gu
4f7010b973 8017478: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
Fixed possible NULL pointer that caused SIGSEGV

Reviewed-by: coleenp, acorn, ctornqvi
2013-06-25 17:22:04 -04:00
Zhengyu Gu
43c33d40c3 Merge 2013-06-18 09:34:16 -04:00
Zhengyu Gu
61a30f035b 8013651: NMT: reserve/release sequence id's in incorrect order due to race
Fixed NMT race condition for realloc, uncommit and release

Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00