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_j9_0_FAILED serviceability/jvmti/vthread/CheckHiddenFrames/CheckHiddenFrames.java RuntimeException: CheckHiddenFrames failed! #20541

Open
JasonFengJ9 opened this issue Nov 7, 2024 · 4 comments

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Nov 7, 2024

Failure link

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

16:23:10  openjdk version "24-internal" 2025-03-18
16:23:10  OpenJDK Runtime Environment (build 24-internal-adhoc.jenkins.BuildJDKnextaarch64linuxPersonal)
16:23:10  Eclipse OpenJ9 VM (build master-24c86c0ca8b, JRE 24 Linux aarch64-64-Bit Compressed References 20241106_129 (JIT enabled, AOT enabled)
16:23:10  OpenJ9   - 24c86c0ca8b
16:23:10  OMR      - 6fa180614ec
16:23:10  JCL      - 5a723c02858 based on jdk-24+22)

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

Optional info

Failure output (captured from console output)

16:24:37  ===============================================
16:24:37  Running test serviceability_jvmti_j9_0 ...
16:24:37  ===============================================
16:24:37  serviceability_jvmti_j9_0 Start Time: Wed Nov  6 21:24:36 2024 Epoch Time (ms): 1730928276459
16:24:37  variation: Mode150
16:24:37  JVM_OPTIONS:  -XX:+UseCompressedOops -Xverbosegclog 

16:28:27  TEST: serviceability/jvmti/vthread/CheckHiddenFrames/CheckHiddenFrames.java

16:28:27  Failed: GetStackTrace returned info for frame expected to be hidden: frame[0]=yield0
16:28:27  Failed: GetStackTrace returned info for frame expected to be hidden: frame[1]=yield
16:28:27  STDERR:
16:28:27  java.lang.RuntimeException: CheckHiddenFrames failed!
16:28:27  	at CheckHiddenFrames.main(CheckHiddenFrames.java:47)
16:28:27  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
16:28:27  	at java.base/java.lang.reflect.Method.invoke(Method.java:573)
16:28:27  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
16:28:27  	at java.base/java.lang.Thread.run(Thread.java:1588)
16:28:27  
16:28:27  JavaTest Message: Test threw exception: java.lang.RuntimeException: CheckHiddenFrames failed!

16:29:36  serviceability_jvmti_j9_0_FAILED

50x internal grinder - all failed

Copy link

github-actions bot commented Nov 7, 2024

Issue Number: 20541
Status: Open
Recommended Components: comp:jvmti, comp:vm, comp:test
Recommended Assignees: babsingh, jasonfengj9, llxia

@JasonFengJ9 JasonFengJ9 added this to the Java 24 milestone Nov 7, 2024
@tajila
Copy link
Contributor

tajila commented Jan 21, 2025

@thallium Please take a look at this

@thallium
Copy link
Contributor

I'll look into this.

@thallium
Copy link
Contributor

The author of the test stated that the yield() and yield0() should also have the @JvmtiMountTransition annotation thus will not appear in the JVMTI stacktrace. Do we want to match the behaviour as well?

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

3 participants