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
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
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
Staffan Larsen
055cce652b
8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
...
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Zhengyu Gu
87505d60f6
8013917: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
...
Simple fix when memory allocation site is gone, NMT should report 0 memory size, instead old memory size.
Reviewed-by: dcubed, ctornqvi
2013-06-10 10:45:19 -04:00
Zhengyu Gu
b9dc514e6c
Merge
2013-06-14 15:20:32 -07:00
Zhengyu Gu
737454c744
8011968: Kitchensink crashed with SIGSEGV in MemBaseline::baseline
...
Simple fix to add NULL pointer check that can cause segv
Reviewed-by: coleenp, ctornqvi
2013-06-14 09:18:42 -04:00
Calvin Cheung
53448fdbed
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
...
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Joseph Provino
8d4061812f
8011064: Some tests have failed with SIGSEGV on arm-hflt on build b82
...
NMT_detail is only supported when frame pointers are not omitted (-fno-omit-frame-pointer).
Reviewed-by: dholmes, cjplummer
2013-05-28 11:32:46 -04:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Frederic Parain
7c2fb49608
8004095: Add support for JMX interface to Diagnostic Framework and Commands
...
Reviewed-by: acorn, sla
2013-05-03 05:05:31 -07:00
Zhengyu Gu
a2f5f4ca1b
8013214: BigApps fails due to 'fatal error: Illegal threadstate encountered: 6'
...
Grab and drop SR_lock to get the thread to honor the safepoint protocol
Reviewed-by: dcubed, coleenp
2013-04-30 09:17:06 -04:00
Zhengyu Gu
3a817dc8b4
8011218: Kitchensink hanged, likely NMT is to blame
...
Made NMT query safepoint aware.
Reviewed-by: dholmes, coleenp
2013-04-24 14:55:04 -04:00
Peter Allwin
a5c3cd8ee3
6729929: I18N - Taking Heap Dump failed if project path contains multibyte characters
...
Reviewed-by: dholmes, rbackman
2013-04-20 19:02:11 +02:00
Daniel D. Daugherty
dec02ae201
Merge
2013-04-19 13:48:54 -07:00
Alejandro Murillo
d60d7014ed
Merge
2013-04-19 09:58:05 -07:00
Zhengyu Gu
cfaea9fe7d
8012464: NMT: classes should not derive from _ValueObj, use VALUE_OBJ_CLASS_SPEC instead
...
NMT value objects should use VALUE_OBJ_CLASS_SPEC instead of deriving from _ValueObj
Reviewed-by: coleenp, hseigel, dholmes
2013-04-18 10:04:44 -04:00
Mikael Gerdin
f01ea84a24
Merge
2013-04-18 14:38:31 +02:00
Bengt Rutisson
687b6a8d44
8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime
...
Also reviewed by: kirk@kodewerk.com , brandon@twitter.com
Reviewed-by: tschatzl, stefank, johnc
2013-04-18 06:50:35 +02:00
David Katleman
fd2735329e
Merge
2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Zhengyu Gu
37fe1421a8
8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
...
Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.
Reviewed-by: dholmes, dlong
2013-04-10 08:55:50 -04:00
Zhengyu Gu
28e33e673a
8011161: NMT: Memory leak when encountering out of memory error while initializing memory snapshot
...
Fix memory leaks when NMT fails to initialize snapshot and worker thread
Reviewed-by: dcubed, ccheung, rdurbin
2013-04-05 12:19:19 -04:00
Zhengyu Gu
7363c58e32
8010474: [parfait] Undefined return value of the functions in hotspot/src/share/vm/services/memTracker.hpp
...
Fixed functions that miss return values
Reviewed-by: coleenp, acorn, kvn
2013-03-27 15:41:53 -04:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07:00
Zhengyu Gu
b799726f35
8009298: NMT: Special version of class loading/unloading with runThese stresses out NMT
...
8009777: NMT: add new NMT dcmd to control auto shutdown option
Added diagnostic VM option and DCmd command to allow NMT stay alive under stress situation
Reviewed-by: dcubed, coleenp
2013-03-20 09:42:48 -04:00
Morris Meyer
5b72922058
8009156: [parfait] Null pointer deference in hotspot/src/share/vm/services/memoryService.cpp
...
Add guarantee() to add_generation_memory_pool()
Reviewed-by: kvn, twisti
2013-03-16 07:39:57 -07:00
Daniel D. Daugherty
776841b1bc
8007476: assert(the_owner != NULL) failed: Did not find owning Java thread for lock word address
...
Make deadlock detection a little more robust in the case of being unable to find the JavaThread associated with an object lock.
Reviewed-by: sla, acorn
2013-02-27 15:00:30 -08:00
Mikael Vidstedt
960480c53d
8008081: Print outs do not have matching arguments
...
Corrected formatted prints to have matching arguments, removed dead print_frame_layout function
Reviewed-by: sla, dholmes
2013-02-26 08:54:03 -08:00
Zhengyu Gu
7b43f3402c
8008071: Crashed in promote_malloc_records() with Kitchensink after 19 days
...
Added NULL pointer check for arena size record
Reviewed-by: sspitsyn, dholmes
2013-02-21 07:50:48 -05:00
Bill Pittore
9cad40fca6
Merge
2013-02-07 16:05:48 -05:00
Dmitry Samersoff
302a583c08
8002048: Protocol to discovery of manageable Java processes on a network
...
Introduce a protocol to discover manageble Java instances across a network subnet, JDP
Reviewed-by: sla, dfuchs
2013-02-03 22:28:08 +04:00