< prev index next >

src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java

Print this page
*** 27,10 ***
--- 27,11 ---
  
  import java.util.List;
  
  import jdk.internal.vm.annotation.IntrinsicCandidate;
  import jdk.jfr.Event;
+ import jdk.jfr.internal.EventWriter;
  import jdk.jfr.internal.handlers.EventHandler;
  
  /**
   * Interface against the JVM.
   *

*** 137,11 ***
       *
       * @param clazz clazz
       *
       * @return a unique class identifier
       */
-     @IntrinsicCandidate
      public static native long getClassId(Class<?> clazz);
  
      /**
       * Return process identifier.
       *
--- 138,10 ---

*** 445,11 ***
       * Fast path fetching the EventWriter using VM intrinsics
       *
       * @return thread local EventWriter
       */
      @IntrinsicCandidate
!     public static native Object getEventWriter();
  
      /**
       * Create a new EventWriter
       *
       * @return thread local EventWriter
--- 445,11 ---
       * Fast path fetching the EventWriter using VM intrinsics
       *
       * @return thread local EventWriter
       */
      @IntrinsicCandidate
!     public static native EventWriter getEventWriter();
  
      /**
       * Create a new EventWriter
       *
       * @return thread local EventWriter
< prev index next >