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

Frederic Thevenet fthevenet at openjdk.org
Tue Jun 20 15:59:37 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 refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available.

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

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

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

  Stats: 7 lines in 1 file changed: 1 ins; 3 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