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

Heap decommit failed in TestShrinkAuxiliaryData10.java and TestShrinkAuxiliaryData20.java

XMLWordPrintable

    • gc

      From TestShrinkAuxiliaryData10.java:

      Options: -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=11 -XX:+UseG1GC -XX:G1HeapRegionSize=1m -XX:+PrintGCDetails -XX:G1ConcRSLogCacheSize=10 -Xmixed -server -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:+ExplicitGCInvokesConcurrent TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest

      Heap
       garbage-first heap total 73728K, used 491K [0xc0c00000, 0xc0d00120, 0xe0c00000)
        region size 1024K, 2 young (2048K), 1 survivors (1024K)
       Metaspace used 2438K, capacity 2472K, committed 2584K, reserved 4400K
      [Verifying threads heap Roots HeapRegionSets HeapRegions RemSet syms strs zone dict cldg metaspace chunks hand C-heap code cache ]
      ];
       stderr: [Exception in thread "main" java.lang.RuntimeException: heap decommit failed - after > before: 75497472 > 67108864
      at com.oracle.java.testlibrary.Asserts.error(Asserts.java:450)
      at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:377)
      at com.oracle.java.testlibrary.Asserts.assertLessThanOrEqual(Asserts.java:124)
      at TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest.test(TestShrinkAuxiliaryData.java:206)
      at TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest.main(TestShrinkAuxiliaryData.java:156)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:308)
      at TestShrinkAuxiliaryData.performTest(TestShrinkAuxiliaryData.java:101)
      at TestShrinkAuxiliaryData.test(TestShrinkAuxiliaryData.java:80)
      at TestShrinkAuxiliaryData10.main(TestShrinkAuxiliaryData10.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)



      From TestShrinkAuxiliaryData20.java:

      Options: -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=11 -XX:+UseG1GC -XX:G1HeapRegionSize=1m -XX:+PrintGCDetails -XX:G1ConcRSLogCacheSize=20 -Xmixed -client -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:+ExplicitGCInvokesConcurrent TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest

      Heap
       garbage-first heap total 53248K, used 667K [0x04a00000, 0x04b000d0, 0x0ca00000)
        region size 1024K, 2 young (2048K), 1 survivors (1024K)
       Metaspace used 2425K, capacity 2472K, committed 2496K, reserved 4480K
      [Verifying threads heap Roots HeapRegionSets HeapRegions RemSet syms strs zone dict cldg metaspace chunks hand C-heap code cache ]
      ];
       stderr: [Exception in thread "main" java.lang.RuntimeException: heap decommit failed - after > before: 54525952 > 16777216
      at com.oracle.java.testlibrary.Asserts.error(Asserts.java:450)
      at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:377)
      at com.oracle.java.testlibrary.Asserts.assertLessThanOrEqual(Asserts.java:124)
      at TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest.test(TestShrinkAuxiliaryData.java:206)
      at TestShrinkAuxiliaryData$ShrinkAuxiliaryDataTest.main(TestShrinkAuxiliaryData.java:156)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:308)
      at TestShrinkAuxiliaryData.performTest(TestShrinkAuxiliaryData.java:101)
      at TestShrinkAuxiliaryData.test(TestShrinkAuxiliaryData.java:80)
      at TestShrinkAuxiliaryData20.main(TestShrinkAuxiliaryData20.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

            Unassigned Unassigned
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: