< prev index next >

src/share/vm/runtime/dtraceJSDT.hpp

Print this page




  24 
  25 #ifndef SHARE_VM_RUNTIME_DTRACEJSDT_HPP
  26 #define SHARE_VM_RUNTIME_DTRACEJSDT_HPP
  27 
  28 #include "code/nmethod.hpp"
  29 #ifdef TARGET_ARCH_x86
  30 # include "nativeInst_x86.hpp"
  31 #endif
  32 #ifdef TARGET_ARCH_sparc
  33 # include "nativeInst_sparc.hpp"
  34 #endif
  35 #ifdef TARGET_ARCH_zero
  36 # include "nativeInst_zero.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_arm
  39 # include "nativeInst_arm.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_ppc
  42 # include "nativeInst_ppc.hpp"
  43 #endif



  44 
  45 class RegisteredProbes;
  46 typedef jlong OpaqueProbes;
  47 
  48 class DTraceJSDT : AllStatic {
  49  private:
  50 
  51   static int pd_activate(void* moduleBaseAddress, jstring module,
  52       jint providers_count, JVM_DTraceProvider* providers);
  53   static void pd_dispose(int handle);
  54   static jboolean pd_is_supported();
  55 
  56  public:
  57 
  58   static OpaqueProbes activate(
  59       jint version, jstring module_name, jint providers_count,
  60       JVM_DTraceProvider* providers, TRAPS);
  61   static jboolean is_probe_enabled(jmethodID method);
  62   static void dispose(OpaqueProbes handle);
  63   static jboolean is_supported();




  24 
  25 #ifndef SHARE_VM_RUNTIME_DTRACEJSDT_HPP
  26 #define SHARE_VM_RUNTIME_DTRACEJSDT_HPP
  27 
  28 #include "code/nmethod.hpp"
  29 #ifdef TARGET_ARCH_x86
  30 # include "nativeInst_x86.hpp"
  31 #endif
  32 #ifdef TARGET_ARCH_sparc
  33 # include "nativeInst_sparc.hpp"
  34 #endif
  35 #ifdef TARGET_ARCH_zero
  36 # include "nativeInst_zero.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_arm
  39 # include "nativeInst_arm.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_ppc
  42 # include "nativeInst_ppc.hpp"
  43 #endif
  44 #ifdef TARGET_ARCH_aarch32
  45 # include "nativeInst_aarch32.hpp"
  46 #endif
  47 
  48 class RegisteredProbes;
  49 typedef jlong OpaqueProbes;
  50 
  51 class DTraceJSDT : AllStatic {
  52  private:
  53 
  54   static int pd_activate(void* moduleBaseAddress, jstring module,
  55       jint providers_count, JVM_DTraceProvider* providers);
  56   static void pd_dispose(int handle);
  57   static jboolean pd_is_supported();
  58 
  59  public:
  60 
  61   static OpaqueProbes activate(
  62       jint version, jstring module_name, jint providers_count,
  63       JVM_DTraceProvider* providers, TRAPS);
  64   static jboolean is_probe_enabled(jmethodID method);
  65   static void dispose(OpaqueProbes handle);
  66   static jboolean is_supported();


< prev index next >