--- a/src/jdk.jfr/share/classes/jdk/jfr/events/ActiveSettingEvent.java Wed Oct 30 16:14:56 2019 +0100
+++ b/src/jdk.jfr/share/classes/jdk/jfr/events/ActiveSettingEvent.java Wed Oct 30 19:43:52 2019 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -37,6 +37,13 @@
@StackTrace(false)
public final class ActiveSettingEvent extends AbstractJDKEvent {
+ public static final ThreadLocal<ActiveSettingEvent> EVENT = new ThreadLocal<ActiveSettingEvent>() {
+ @Override
+ protected ActiveSettingEvent initialValue() {
+ return new ActiveSettingEvent();
+ }
+ };
+
@Label("Event Id")
public long id;