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

Frederic Thevenet fthevenet at openjdk.org
Wed Aug 9 18:49:28 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

Frederic Thevenet has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1969/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1969/files/b25d2d5f..b25d2d5f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1969&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1969&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1969.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1969/head:pull/1969

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


More information about the jdk-updates-dev mailing list