diff -r 02a4c08a8777 -r 1258121876f8 src/share/vm/jfr/writers/jfrJavaEventWriter.hpp --- a/src/share/vm/jfr/writers/jfrJavaEventWriter.hpp Fri Sep 27 10:27:29 2019 +0800 +++ b/src/share/vm/jfr/writers/jfrJavaEventWriter.hpp Fri Sep 27 13:23:32 2019 +0800 @@ -33,14 +33,15 @@ class JfrJavaEventWriter : AllStatic { friend class JfrCheckpointThreadClosure; + friend class JfrJavaEventWriterNotificationClosure; friend class JfrJavaEventWriterNotifyOperation; - friend class JfrJavaEventWriterNotificationClosure; + friend class JfrRecorder; private: + static bool initialize(); static void notify(JavaThread* jt); public: static bool has_required_classes(TRAPS); - static bool initialize(); static void notify(); static jobject event_writer(Thread* t); static jobject new_event_writer(TRAPS);