Skip to content

Commit

Permalink
Merge pull request #589 from thallium/master
Browse files Browse the repository at this point in the history
Add JFR check to test flags
  • Loading branch information
JasonFengJ9 committed Jul 29, 2024
2 parents 8a5ae9e + 18d0c67 commit 2a2625f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/org/openj9/envInfo/JavaInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,17 @@ public void checkVTstandard() {
}
}

public void checkJFR() {
if ("true".equalsIgnoreCase(System.getProperty("org.eclipse.openj9.jfr.isJFREnabled"))) {
detectedTfs.add("JFR");
}
}

public String getTestFlag() {
String testFlag = "";
checkCRIU();
checkVTstandard();
checkJFR();
String envTf = System.getenv("TEST_FLAG");
String paddedTf = null;
if (envTf != null) {
Expand Down

0 comments on commit 2a2625f

Please sign in to comment.