-
Bug
-
Resolution: Duplicate
-
P2
-
17
-
x86_64
-
linux
The following test failed in the JDK17 CI (with UT testing enabled):
gc/stress/TestStressG1Humongous.java
Here's a snippet from the log file:
stderr: [Exception in thread "UsageTracker" java.lang.OutOfMemoryError: Java heap space
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.BoundMethodHandle
at java.base/java.lang.invoke.DirectMethodHandle.rebind(DirectMethodHandle.java:150)
at java.base/java.lang.invoke.StringConcatFactory.newString(StringConcatFactory.java:687)
at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
at gc.stress.TestStressG1HumongousImpl.run(TestStressG1Humongous.java:113)
at gc.stress.TestStressG1HumongousImpl.main(TestStressG1Humongous.java:96)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:474)
at gc.stress.TestStressG1Humongous.run(TestStressG1Humongous.java:77)
at gc.stress.TestStressG1Humongous.main(TestStressG1Humongous.java:56)
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:568)
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
JavaTest Message: shutting down test
gc/stress/TestStressG1Humongous.java
Here's a snippet from the log file:
stderr: [Exception in thread "UsageTracker" java.lang.OutOfMemoryError: Java heap space
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.lang.invoke.BoundMethodHandle
at java.base/java.lang.invoke.DirectMethodHandle.rebind(DirectMethodHandle.java:150)
at java.base/java.lang.invoke.StringConcatFactory.newString(StringConcatFactory.java:687)
at java.base/java.lang.invoke.StringConcatFactory.generateMHInlineCopy(StringConcatFactory.java:514)
at java.base/java.lang.invoke.StringConcatFactory.makeConcatWithConstants(StringConcatFactory.java:358)
at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:102)
at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
at gc.stress.TestStressG1HumongousImpl.run(TestStressG1Humongous.java:113)
at gc.stress.TestStressG1HumongousImpl.main(TestStressG1Humongous.java:96)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:474)
at gc.stress.TestStressG1Humongous.run(TestStressG1Humongous.java:77)
at gc.stress.TestStressG1Humongous.main(TestStressG1Humongous.java:56)
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:568)
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
JavaTest Message: shutting down test