-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b15
Running runtime/reflect/ReflectOutOfMemoryError.java without compressed OOPs fails intermittently with:
java.lang.RuntimeException: Unexpected InvocationTargetException: java.lang.BootstrapMethodError: bootstrap method initialization exception
at ReflectOutOfMemoryError.main(ReflectOutOfMemoryError.java:96)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
The failure is easiest to reproduce using -XX:+UseParallelGC (failure frequency of around 10-20% on JDK 24 b13), but it has been observed at least once using -XX:+UseZGC (albeit on a personal build with a few local changes), which indicates that it is probably GC-independent. No failure has been seen with compressed OOPs enabled. The failure has been observed on both linux-x64-debug and linux-aarch64-debug.
java.lang.RuntimeException: Unexpected InvocationTargetException: java.lang.BootstrapMethodError: bootstrap method initialization exception
at ReflectOutOfMemoryError.main(ReflectOutOfMemoryError.java:96)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
The failure is easiest to reproduce using -XX:+UseParallelGC (failure frequency of around 10-20% on JDK 24 b13), but it has been observed at least once using -XX:+UseZGC (albeit on a personal build with a few local changes), which indicates that it is probably GC-independent. No failure has been seen with compressed OOPs enabled. The failure has been observed on both linux-x64-debug and linux-aarch64-debug.
- links to
-
Commit(master) openjdk/jdk/64de7813
-
Review(master) openjdk/jdk/20881