Skip to content

Commit

Permalink
check java.vm.version
Browse files Browse the repository at this point in the history
  • Loading branch information
richardstartin committed Jan 19, 2024
1 parent 150934c commit 90898df
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ private static Duration parseInterval(String command, String part) {

@BeforeEach
public void setupProfiler() throws Exception {
System.err.println(System.getProperty("java.vm.version"));
System.err.println(System.getProperty("java.runtime.version"));
System.err.println(System.getProperty("java.vm.vendor"));
System.err.println(System.getProperty("java.vm.name"));
jfrDump = Files.createTempFile(Paths.get("/tmp"), getClass().getName() + UUID.randomUUID(), ".jfr");
profiler = JavaProfiler.getInstance();
String command = "start," + getAmendedProfilerCommand() + ",jfr,file=" + jfrDump.toAbsolutePath();
Expand Down

0 comments on commit 90898df

Please sign in to comment.