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

Frederic Thevenet fthevenet at openjdk.org
Tue Jun 20 15:49:35 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](https://github.com/openjdk/jdk17u-dev/pull/1438): 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 will be available here: https://github.com/fthevenet/jdk11u-dev/actions/runs/5324629652

Thanks

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

Depends on: https://git.openjdk.org/jdk11u-dev/pull/1942

Commit messages:
 - Backport 9872a14192ce3964b934c19ab685342ffd396986

Changes: https://git.openjdk.org/jdk11u-dev/pull/1968/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1968&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/jdk11u-dev/pull/1968.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1968/head:pull/1968

PR: https://git.openjdk.org/jdk11u-dev/pull/1968


More information about the jdk-updates-dev mailing list