RFR: 8262908: JFR: Allow JFR to stream events from a known repository path

Erik Gahlin egahlin at openjdk.java.net
Mon Apr 26 17:36:59 UTC 2021


Hi,

Could I have a review that makes it possible to use event streaming against the repository specified on command line (-XX:FlightRecorder:repository=directory)

This is useful if you want start JFR from a script and pass the directory to a monitoring process. Previously you had to use attach and read the directory from a system property. 

Testing: jdk/jdk/jfr

Thanks
Erik

-------------

Commit messages:
 - Always detact
 - Initial

Changes: https://git.openjdk.java.net/jdk/pull/3685/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3685&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262908
  Stats: 1050 lines in 14 files changed: 1033 ins; 1 del; 16 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3685.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3685/head:pull/3685

PR: https://git.openjdk.java.net/jdk/pull/3685


More information about the hotspot-jfr-dev mailing list