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/events/MonitorWaited/monitorwaited01/monitorwaited01.java Fatal error: Unexpected method found #20707

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:43:42  TEST: serviceability/jvmti/events/MonitorWaited/monitorwaited01/monitorwaited01.java

22:43:42  Thread: 0x28cf18, name: Debuggee Thread, state(5):  ALIVE RUNNABLE, attrs: virtual daemon
22:43:42  JVMTI Stack Trace for thread Debuggee Thread: frame count: 8
22:43:42   0: java/lang/Object: waitImpl(JI)V
22:43:42   1: java/lang/Object: wait(JI)V
22:43:42   2: java/lang/Object: wait(J)V
22:43:42   3: monitorwaited01Task: run()V
22:43:42   4: java/lang/Thread: runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V
22:43:42   5: java/lang/VirtualThread: run(Ljava/lang/Runnable;)V
22:43:42   6: java/lang/VirtualThread$VThreadContinuation$1: run()V
22:43:42   7: jdk/internal/vm/Continuation: enter(Ljdk/internal/vm/Continuation;)V
22:43:42  
22:43:42  Expected method wait0 but found waitImpl
22:43:42  STDERR:
22:43:42  
22:43:42  Fatal error: Unexpected method found

22:43:42  TEST RESULT: Failed. Unexpected exit from test [exit code: 87]

22:47:19  serviceability_jvmti_j9_0_FAILED

50x internal grinder - all failed

This might be a hotspot-specific test.

github-actions[bot] commented 3 days ago

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