Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171084

heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b157
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description


        [2016-12-11T02:11:39.49] /export/home/aginfra/sandbox/results/ResultDir/JMapHeapCore/run.sh: line 30: 47154 Abort (core dumped) ${JAVA} ${JAVA_OPTS} heapdump.share.EatMemory -core
        [2016-12-11T02:11:39.50] Found core file: core.47154
        [2016-12-11T02:11:40.17] Attaching to core core.47154 from executable /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/java, please wait...
        [2016-12-11T02:11:40.72] Debugger attached successfully.
        [2016-12-11T02:11:40.72] Server compiler detected.
        [2016-12-11T02:11:40.72] JVM version is 9-internal+0-2016-12-09-161408.jesper.dev-hs-merge
        [2016-12-11T02:15:01.38] Exception in thread "main" java.lang.RuntimeException: Heap segment size overflow.
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.fillInHeapRecordLength(HeapHprofBinWriter.java:496)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeHeapRecordEpilogue(HeapHprofBinWriter.java:480)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.utilities.AbstractHeapGraphWriter$1.doObj(AbstractHeapGraphWriter.java:101)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions(ObjectHeap.java:354)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.oops.ObjectHeap.iterate(ObjectHeap.java:172)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.utilities.AbstractHeapGraphWriter.write(AbstractHeapGraphWriter.java:51)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(HeapHprofBinWriter.java:433)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.writeHeapHprofBin(JMap.java:182)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:97)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
        [2016-12-11T02:15:01.38] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
        [2016-12-11T02:15:01.39] at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
        [2016-12-11T02:15:01.39] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:326)
        [2016-12-11T02:15:01.39] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:455)
        [2016-12-11T02:15:03.76] jmap exited with exit status 1
        [2016-12-11T02:15:03.76] TEST FAILED
        [2016-12-11T02:16:11.67] # Test level exit status: 1

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jgeorge Jini George (Inactive)
                  Reporter:
                  dfazunen Dmitry Fazunenko (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: