hg: jdk9/hs/hotspot: 8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
vyom.tewari at oracle.com
vyom.tewari at oracle.com
Mon Jan 30 08:19:59 UTC 2017
Changeset: 2c44cff993b8
Author: jgeorge
Date: 2017-01-30 13:48 +0530
URL: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/2c44cff993b8
8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
Summary: Create a new heapdump segment and truncate huge arrays if required, to avoid overflow of the 32 bit value representing the size.
Reviewed-by: dholmes, dsamersoff
Contributed-by: jini.george at oracle.com
! src/jdk.hotspot.agent/linux/native/libsaproc/libproc_impl.c
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/AbstractHeapGraphWriter.java
! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/HeapHprofBinWriter.java
+ test/serviceability/sa/LingeredAppWithLargeArray.java
+ test/serviceability/sa/TestHeapDumpForLargeArray.java
! test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java
More information about the jdk9-all-changes
mailing list