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

gc/stress/TestReclaimStringsLeaksMemory.java fails because Reserved memory size is too big

XMLWordPrintable

    • gc
    • b10
    • generic
    • generic

        The following test failed in the JDK17 CI:

        gc/stress/TestReclaimStringsLeaksMemory.java

        Here's a snippet from the log file:

        ----------System.err:(16/1150)----------
        java.lang.RuntimeException: Reserved memory size is 4903968KB which is greater than or equal to 70000KB indicating a memory leak: expected that 4903968 < 70000
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertLessThan(Asserts.java:99)
        at jdk.test.lib.Asserts.assertLT(Asserts.java:70)
        at gc.stress.TestReclaimStringsLeaksMemory.verifySymbolMemoryUsageNotTooHigh(TestReclaimStringsLeaksMemory.java:80)
        at gc.stress.TestReclaimStringsLeaksMemory.main(TestReclaimStringsLeaksMemory.java:65)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: java.lang.RuntimeException

              dcubed Daniel Daugherty
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: