RFR: 8279785 JFR: 'jfr configure' should show default values

Erik Gahlin egahlin at openjdk.java.net
Tue Jan 11 03:00:43 UTC 2022


Hi,

Could I have a review of an enhancement that shows the default values for the 'jfr configure' command. For example,

    Options for default.jfc:

      gc=<off|normal|detailed|high|all>  (normal)

      allocation-profiling=<off|low|medium|high|maximum>  (low)

      compiler=<off|normal|detailed|all>  (normal)

      method-profiling=<off|normal|high|max>  (normal)

      thread-dump=<off|once|60s|10s|1s>  (once)

      exceptions=<off|errors|all>  (errors)

      memory-leaks=<off|types|stack-traces|gc-roots>  (types)

      locking-threshold=<timespan>  (20ms)

      file-threshold=<timespan>  (20ms)

      socket-threshold=<timespan>  (20ms)

      class-loading=<true|false>  (false)

Testing: jdk/jdk/jfr

Thanks
Erik

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

Commit messages:
 - Reverse public modifier
 - Initial

Changes: https://git.openjdk.java.net/jdk/pull/7020/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7020&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279785
  Stats: 18 lines in 3 files changed: 16 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7020.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7020/head:pull/7020

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


More information about the hotspot-jfr-dev mailing list