diff -r 7df7c1f71ccf -r 51b28beb53fd src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp --- a/src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp Tue Jul 02 14:31:43 2019 +0200 +++ b/src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp Tue Jul 02 17:46:38 2019 +0200 @@ -33,13 +33,14 @@ 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 initialize(); static void notify(); static jobject event_writer(Thread* t); static jobject new_event_writer(TRAPS);