[jdk17u-dev] RFR: 8309959: JFR: Display N/A for missing data amount

Frederic Thevenet fthevenet at openjdk.org
Wed Jun 14 13:53:08 UTC 2023


This is a backport of [JDK-8309959](https://bugs.openjdk.org/browse/JDK-8309959): JFR: Display N/A for missing data amount.

It is a follow up to the backport of [JDK-8309550](): jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE

NB: [ValueFormatter.java](https://github.com/openjdk/jdk/commit/a1ab377d995dce4d636b908e96bd168dc3a9f3e5#diff-92129c25f421457539b76d9df74cdd34a12d8afd07e53612859e2edeee2c5758) that is changed in the original commit  got introduced with [JDK-8306703](https://bugs.openjdk.org/browse/JDK-8306703). which is JDK 21+ only and shouldn't get backported.

A run of the Jdk_jfr test suite via GHA is available here: https://github.com/fthevenet/jdk17u-dev/actions/runs/5267901714

Thanks

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

Depends on: https://git.openjdk.org/jdk17u-dev/pull/1423

Commit messages:
 - Backport 9872a14192ce3964b934c19ab685342ffd396986

Changes: https://git.openjdk.org/jdk17u-dev/pull/1438/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1438&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309959
  Stats: 7 lines in 1 file changed: 3 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1438.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1438/head:pull/1438

PR: https://git.openjdk.org/jdk17u-dev/pull/1438


More information about the jdk-updates-dev mailing list