Integrated: 8365614: JFR: Improve PrettyWriter::printValue
Erik Gahlin
egahlin at openjdk.org
Tue Aug 19 16:10:45 UTC 2025
On Sun, 17 Aug 2025 11:30:51 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Could I have a review of a PR that simplifies the PrettyWriter::printValue method so it uses switch expression. It also changes so null is never passed to the method, making the code more robust.
>
> Testing: jdk/jdk/jfr + manual comparison of output before and after so it hasn't changed
This pull request has now been integrated.
Changeset: 024292ac
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/024292ac4dde7e49816d82d5f8a30a3e11f44d18
Stats: 154 lines in 2 files changed: 23 ins; 66 del; 65 mod
8365614: JFR: Improve PrettyWriter::printValue
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.org/jdk/pull/26810
More information about the hotspot-jfr-dev
mailing list