diff -r be121cbf3284 -r 23e3cd901cb6 src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp --- a/src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp Mon Sep 02 21:08:41 2019 +0200 +++ b/src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp Tue Sep 03 11:48:31 2019 +0200 @@ -35,11 +35,12 @@ friend class JfrNotifyClosure; 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);