eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.29k stars 722 forks source link

JDK24 serviceability/jvmti/RedefineClasses/RedefineVerifyError.java ClassFormatError #20708

Open JasonFengJ9 opened 3 days ago

JasonFengJ9 commented 3 days ago

Failure link

From an internal build(sles15-aarch64-5):

22:41:25  openjdk version "24-internal" 2025-03-18
22:41:25  OpenJDK Runtime Environment (build 24-internal-adhoc.jenkins.BuildJDKnextaarch64linuxPersonal)
22:41:25  Eclipse OpenJ9 VM (build master-4ee9b77dbbd, JRE 24 Linux aarch64-64-Bit Compressed References 20241128_142 (JIT enabled, AOT enabled)
22:41:25  OpenJ9   - 4ee9b77dbbd
22:41:25  OMR      - 494474f6819
22:41:25  JCL      - 91383efdb6c based on jdk-24+25)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

22:43:00  ===============================================
22:43:00  Running test serviceability_jvmti_j9_0 ...
22:43:00  ===============================================
22:43:00  serviceability_jvmti_j9_0 Start Time: Thu Nov 28 03:42:59 2024 Epoch Time (ms): 1732765379926
22:43:00  variation: Mode150
22:43:00  JVM_OPTIONS:  -XX:+UseCompressedOops -Xverbosegclog 

22:44:45  TEST: serviceability/jvmti/RedefineClasses/RedefineVerifyError.java

22:44:45  STDERR:
22:44:45  JVMJ9VM007W Command-line option unrecognised: -Xlog:class+init,exceptions
22:44:45  java.lang.ClassFormatError
22:44:45    at java.instrument/sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)
22:44:45    at java.instrument/sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:247)
22:44:45    at RedefineClassHelper.redefineClass(RedefineClassHelper.java:61)
22:44:45    at RedefineVerifyError.main(RedefineVerifyError.java:93)
22:44:45    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
22:44:45    at java.base/java.lang.reflect.Method.invoke(Method.java:571)
22:44:45    at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
22:44:45    at java.base/java.lang.Thread.run(Thread.java:1458)
22:44:45  
22:44:45  JavaTest Message: Test threw exception: java.lang.ClassFormatError

22:47:19  serviceability_jvmti_j9_0_FAILED

50x internal grinder - all failed

github-actions[bot] commented 3 days ago

Issue Number: 20708 Status: Open Recommended Components: comp:jvmti, comp:vm, comp:jit