diff --git a/src/org/openj9/envInfo/JavaInfo.java b/src/org/openj9/envInfo/JavaInfo.java index fdc02f01..ed53bf9c 100644 --- a/src/org/openj9/envInfo/JavaInfo.java +++ b/src/org/openj9/envInfo/JavaInfo.java @@ -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) {