RFR: 8353614: JFR: jfr print --exact

Markus Grönlund mgronlun at openjdk.org
Thu Apr 10 12:54:03 UTC 2025


On Wed, 2 Apr 2025 02:20:06 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of an enhancement that adds a command-line switch to `jfr print`, allowing timestamps, time spans, percentages, and byte values to be printed with full precision?
> 
> Testing: tier1 + jdk/jdk/jfr
> 
> Thank
> Erik

src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Print.java line 76:

> 74:         stream.println("  --json                  Print recording in JSON format");
> 75:         stream.println();
> 76:         stream.println("  --exact                 Pretty print numbers and timestamps in full precision.");

"with full precision."

src/jdk.jfr/share/man/jfr.md line 124:

> 122: 
> 123: <a id="print-option-exact">`--exact`</a>
> 124: : Pretty print numbers and timestamps in full precision.

"with full precision."

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24372#discussion_r2037069372
PR Review Comment: https://git.openjdk.org/jdk/pull/24372#discussion_r2037069969


More information about the hotspot-jfr-dev mailing list