Integrated: 8335730: JFR: Clean up jdk.jfr

Erik Gahlin egahlin at openjdk.org
Fri Jul 5 16:47:35 UTC 2024


On Thu, 4 Jul 2024 21:30:59 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have review of a PR that:
> - remove unused imports
> - remove unused variables in instanceof
> - use constants instead Integer.valueOf(-1) or Long.valueOf(0L)
> - add final modifier where missing
> - prefer package protected classes over public
> - use try-with-resources
> - use Arrays.toString(...) instead of Arrays.asList(...).toString();
> 
> Testing: jdk/jdk/jfr
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: 7efe1603
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7efe16038e5df9894a265ea1214068060f595c4e
Stats:     58 lines in 24 files changed: 3 ins; 22 del; 33 mod

8335730: JFR: Clean up jdk.jfr

Reviewed-by: mgronlun

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

PR: https://git.openjdk.org/jdk/pull/20042


More information about the hotspot-jfr-dev mailing list