Skip to content

Conversation

@roberttoyonaga
Copy link
Collaborator

This PR adds some substitutions related to the the new JFR features recently integrated into OpenJDK:
JEP 520: JFR Method Timing & Tracing
JEP 509: JFR CPU-Time Profiling (Experimental)

Without them we get warnings like this:

[warn][jfr,system ] Exception occurred during execution of event jdk.MethodTiming(13364). jdk.jfr.internal.JVM.drainStaleMethodTracerIds()[J [symbol: Java_jdk_jfr_internal_JVM_drainStaleMethodTracerIds or Java_jdk_jfr_internal_JVM_drainStaleMethodTracerIds__]
[warn][jfr,setting] Exception occurred when setting value "false". jdk.jfr.internal.JVM.setCPUThrottle(DZ)V [symbol: Java_jdk_jfr_internal_JVM_setCPUThrottle or Java_jdk_jfr_internal_JVM_setCPUThrottle__DZ] ==> expected: <true> but was: <false>

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 12, 2025
@christianhaeubl christianhaeubl changed the title JFR substitutions for JDK 25+26 [GR-65899] JFR substitutions for JDK 25+26. Jun 12, 2025
Copy link
Member

@christianhaeubl christianhaeubl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - this PR will get integrated in the next few days.

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

Labels

native-image native-image-jfr OCA Verified All contributors have signed the Oracle Contributor Agreement. redhat-interest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants