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

runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b09

      Backports

        Description

        The test fails with following error when running on a JDK binary with default CDS archive:

        java.lang.RuntimeException: Load factor too high, expected MAX 5.0, got 467.30841121495325 [table size 107, number of clases 50002]
        at TestResize.analyzeOutputOn(TestResize.java:99)
        at TestResize.main(TestResize.java:124)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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$SameVMRunnable.run(MainActionHelper.java:229)
        at java.base/java.lang.Thread.run(Thread.java:834)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jiangli Jiangli Zhou
                Reporter:
                jiangli Jiangli Zhou
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: