< prev index next >

src/hotspot/share/jfr/writers/jfrJavaEventWriter.hpp

Print this page
*** 24,11 ***
--- 24,13 ---
  
  #ifndef SHARE_JFR_WRITERS_JFRJAVAEVENTWRITER_HPP
  #define SHARE_JFR_WRITERS_JFRJAVAEVENTWRITER_HPP
  
  #include "jni.h"
+ #include "jfr/utilities/jfrTypes.hpp"
  #include "memory/allocation.hpp"
+ #include "utilities/exceptions.hpp"
  
  class JavaThread;
  class Thread;
  
  class JfrJavaEventWriter : AllStatic {

*** 40,11 ***
    static bool initialize();
    static void notify(JavaThread* jt);
  
   public:
    static void notify();
!   static jobject event_writer(JavaThread* t);
    static jobject new_event_writer(TRAPS);
    static jboolean flush(jobject writer, jint used, jint requested, JavaThread* jt);
  };
  
  #endif // SHARE_JFR_WRITERS_JFRJAVAEVENTWRITER_HPP
--- 42,11 ---
    static bool initialize();
    static void notify(JavaThread* jt);
  
   public:
    static void notify();
!   static jobject event_writer(JavaThread* t, traceid tid = 0);
    static jobject new_event_writer(TRAPS);
    static jboolean flush(jobject writer, jint used, jint requested, JavaThread* jt);
  };
  
  #endif // SHARE_JFR_WRITERS_JFRJAVAEVENTWRITER_HPP
< prev index next >