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

Too low memory usage in TestPromotionFromSurvivorToTenuredAfterMinorGC.java

    XMLWordPrintable

Details

    • gc
    • b81

    Backports

      Description

        This test is failing after hs-rt is merged with jdk9/hs, which means we can't sync down jdk9/hs to hs-rt. The test fails every time, only on Solaris x64.

        Verifying memory usage in space: TENURED
        Allocated objects count: 655360
        Desired object size: 16
        Actual object size: 16
        Expected object size in space: 16
        Expected memory usage: 14026192
        Actual memory usage: 13075920
        Memory usage diff: 950272
        Max allowed usage diff: 701312
        STDERR:
        java.lang.RuntimeException: Actual memory usage should not deviate from expected for more then 701312 (assert failed: 950272 <= 701312)
        at jdk.test.lib.Asserts.error(Asserts.java:444)
        at jdk.test.lib.Asserts.assertTrue(Asserts.java:371)
        at jdk.test.lib.Asserts.assertLessThanOrEqual(Asserts.java:122)
        at jdk.test.lib.Asserts.assertLTE(Asserts.java:101)
        at SurvivorAlignmentTestMain.verifyMemoryUsage(SurvivorAlignmentTestMain.java:333)
        at TestPromotionFromSurvivorToTenuredAfterMinorGC.main(TestPromotionFromSurvivorToTenuredAfterMinorGC.java:106)
        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:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: