src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp
branchJEP-349-branch
changeset 57987 23e3cd901cb6
parent 57360 5d043a159d5c
child 58154 060d9d139109
--- 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);