Skip to content

Commit

Permalink
Merge pull request #20631 from tajila/jfr3
Browse files Browse the repository at this point in the history
Disable JFR JCL APIs
  • Loading branch information
pshipton authored Nov 19, 2024
2 parents 9618d90 + 9f566fa commit 975e741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jcl/src/java.base/share/classes/java/lang/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,10 @@ private static void ensureProperties(boolean isInitialization) {
/*[ENDIF] CRIU_SUPPORT */

/*[IF JFR_SUPPORT]*/
/* Enables openj9 JFR tests. */
initializedProperties.put("org.eclipse.openj9.jfr.isJFREnabled", "true"); //$NON-NLS-1$ //$NON-NLS-2$
/* TODO disable JFR JCL APIs until JFR natives are implemented. */
initializedProperties.put("jfr.unsupported.vm", "true"); //$NON-NLS-1$ //$NON-NLS-2$
/*[ENDIF] JFR_SUPPORT */

String[] list = getPropertyList();
Expand Down

0 comments on commit 975e741

Please sign in to comment.