You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STDERR:
java.lang.IdentityException: bad object type runtime/valhalla/inlinetypes/MonitorEnterTest$MyValue: object that is synchronized is a value type
at runtime.valhalla.inlinetypes.MonitorEnterTest.monitorEnter(MonitorEnterTest.java:56)
at runtime.valhalla.inlinetypes.MonitorEnterTest.main(MonitorEnterTest.java:75)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:571)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1458)
JavaTest Message: Test threw exception: java.lang.IdentityException: bad object type runtime/valhalla/inlinetypes/MonitorEnterTest$MyValue: object that is synchronized is a value type
JavaTest Message: shutting down test
This is likely a JIT issue since it doesn't happen with -Xint.
JVM version
openjdk version "25-internal" 2025-09-16
OpenJDK Runtime Environment (build 25-internal-adhoc.root.openj9-openjdk-jdk.valuetypes)
Eclipse OpenJ9 VM (build master-eb9322941f4-eb9322941, JRE 25 Linux amd64-64-Bit Compressed References 20250117_000000 (JIT enabled, AOT enabled)
OpenJ9 - eb9322941
OMR - 2767da3a2
JCL - c154841cc67 based on jdk-25+5)
The text was updated successfully, but these errors were encountered:
I had prototyped a JIT change for this last year when we learned monitorenter could throw an IdentityException, but I never delivered it. I'll dust that off.
Failed Tests:
This is likely a JIT issue since it doesn't happen with
-Xint
.JVM version
The text was updated successfully, but these errors were encountered: