8365638: JFR: Add --exact for debugging out-of-order events

Reviewed-by: shade
This commit is contained in:
Erik Gahlin 2025-08-18 10:36:35 +00:00
parent 6e91ccd1c3
commit a42ba1ff1a

View File

@ -410,6 +410,7 @@ public class TestPrintContextual {
private static List<String> readPrintedLines(Path file, String... options) throws Exception {
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jfr");
launcher.addToolArg("print");
launcher.addToolArg("--exact");
for (String option : options) {
launcher.addToolArg(option);
}