Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JasonFengJ9 opened this issue Nov 28, 2024 · 1 comment

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Nov 28, 2024

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

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant