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

TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores

XMLWordPrintable

    • 22
    • b11

        JDK-8312182 introduced the test runtime/os/THPsInThreadStackPreventionTest.java that only runs on with debug/fastdebug build of the JVM. We found this test could fail on machines with a large number of cores. E.g. on a machine with 128 cores, it fails with:
        java.lang.RuntimeException: RSS+Swap larger than expected: 395m, expected at most 339m
                at THPsInThreadStackPreventionTest.main(THPsInThreadStackPreventionTest.java:195)
                at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
                at java.base/java.lang.reflect.Method.invoke(Method.java:580)
                at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
                at java.base/java.lang.Thread.run(Thread.java:1570)

              manc Man Cao
              manc Man Cao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: