Integrated: JDK-8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Frederic Thevenet
fthevenet at openjdk.org
Wed Jun 7 13:02:06 UTC 2023
On Tue, 6 Jun 2023 19:08:11 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:
> Please review this simple fix to JDK-8309550.
>
> NB: The problem originally reported only concerned `src/jdk.jfr/share/classes/jdk/jfr/internal/Utils.java`, but since this code was duplicated in `src/jdk.jfr/share/classes/jdk/jfr/internal/util/ValueFormatter.java` with, as far as I understood from the bug description, with an intent to refactor it a a later time, I opted to change both occurrences of the method.
This pull request has now been integrated.
Changeset: a1ab377d
Author: Frederic Thevenet <fthevenet at openjdk.org>
Committer: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a1ab377d995dce4d636b908e96bd168dc3a9f3e5
Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
8309550: jdk.jfr.internal.Utils::formatDataAmount method should gracefully handle amounts equal to Long.MIN_VALUE
Reviewed-by: stuefe, mgronlun
-------------
PR: https://git.openjdk.org/jdk/pull/14341
More information about the hotspot-jfr-dev
mailing list