[jdk25] RFR: 8360287: JFR: PlatformTracer class should be loaded lazily

Andrey Turbanov aturbanov at openjdk.org
Mon Jun 30 19:48:42 UTC 2025


On Mon, 30 Jun 2025 09:30:09 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> 8360287: JFR: PlatformTracer class should be loaded lazily

src/jdk.jfr/share/classes/jdk/jfr/internal/settings/MethodSetting.java line 45:

> 43: public final class MethodSetting extends FilterSetting {
> 44:     private final Modification modification;
> 45:     private volatile static boolean initialized;

Let's use blessed modifiers order
Suggestion:

    private static volatile boolean initialized;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26040#discussion_r2175776074


More information about the hotspot-jfr-dev mailing list