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
Zhengyu Gu
5c6318e816
8005048: NMT: #loaded classes needs to just show the # defined classes
...
Count number of instance classes so that it matches class metadata size
Reviewed-by: coleenp, acorn
2013-01-08 14:04:25 -05:00
Zhengyu Gu
2cb72bf989
8003487: NMT: incorrect assertion in VMMemPointerIterator::remove_released_region method (memSnapshot.cpp)
...
The assertion is applied to only the region to be released, also performs region integrity checking
Reviewed-by: acorn, coleenp
2012-11-16 09:05:19 -05:00
Zhengyu Gu
a988fc0968
Merge
2012-11-09 22:22:53 -08:00
Zhengyu Gu
f47de1cb41
8001592: NMT: assertion failed: assert(_amount >= amt) failed: Just check: memBaseline.hpp:180
...
Fixed NMT that miscounted arena memory when it is used as value or stack object.
Reviewed-by: acorn, coleenp
2012-11-09 19:24:31 -05:00
Zhengyu Gu
1abc21c310
8002273: NMT to report JNI memory leaks when -Xcheck:jni is on
...
Allows NMT to report that JNI thread failed to detach from JVM before exiting, which leaks the JavaThread object when check:jni option is on.
Reviewed-by: acorn, dholmes, coleenp, ctornqvi
2012-11-09 11:04:06 -05:00
Zhengyu Gu
c1df1d9659
8001591: NMT: assertion failed: assert(rec->addr() + rec->size() <= cur->base()) failed: Can not overlap in memSnapshot.cpp
...
NMT should allow overlapping committed regions as long as they belong to the same reserved region
Reviewed-by: dholmes, coleenp
2012-11-05 15:30:22 -05:00
Zhengyu Gu
3e481cdd81
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
...
Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
2012-10-19 21:40:07 -04:00
Zhengyu Gu
442e4b0e54
7181995: NMT ON: NMT assertion failure assert(cur_vm->is_uncommit_record() || cur_vm->is_deallocation_record
...
Fixed virtual memory records merge and promotion logic, should be based on sequence number vs. base address order
Reviewed-by: coleenp, acorn
2012-09-11 20:53:17 -04:00
Zhengyu Gu
5bc134a53b
7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT
...
Updated all related variables and methods to use NOT_PRODUCT macros
Reviewed-by: coleenp, acorn, kvn
2012-08-14 13:56:46 -04:00
Zhengyu Gu
a13f3bdad8
7185614: NMT ON: "check by caller" assertion failed on nsk ThreadMXBean test
...
7187429: NMT ON: Merge failure should cause NMT to shutdown
Fixed NMT assertion failures
Reviewed-by: acorn, kvn
2012-08-01 17:19:30 -04:00
Zhengyu Gu
196abe2523
7181986: NMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest
...
Changed _query_lock to heap object from static object. Also fixed _query_lock and snapshot lock ranks, so they can participate deadlock detection.
Reviewed-by: coleenp, dholmes, kvn
2012-07-16 14:10:34 -04:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00