test/hotspot/jtreg/vmTestbase/nsk/share/JVMTIagent.cpp
changeset 51774 79dc492c00ab
parent 51551 e409244ce72e
child 51870 cdfabab3413f
equal deleted inserted replaced
51773:720fd6544b03 51774:79dc492c00ab
    37 #include "nsk_tools.h"
    37 #include "nsk_tools.h"
    38 #include "jni_tools.h"
    38 #include "jni_tools.h"
    39 #include "JVMTITools.h"
    39 #include "JVMTITools.h"
    40 #include "jvmti_tools.h"
    40 #include "jvmti_tools.h"
    41 
    41 
    42 #ifdef __cplusplus
       
    43 extern "C" {
    42 extern "C" {
    44 #endif
       
    45 
    43 
    46 static jvmtiEnv *jvmti = NULL; /* JVMTI env */
    44 static jvmtiEnv *jvmti = NULL; /* JVMTI env */
    47 static jvmtiEventCallbacks callbacks;
    45 static jvmtiEventCallbacks callbacks;
    48 static jrawMonitorID eventLock; /* raw monitor used for exclusive ownership of HotSwap function */
    46 static jrawMonitorID eventLock; /* raw monitor used for exclusive ownership of HotSwap function */
    49 
    47 
  1269         return JNI_ERR;
  1267         return JNI_ERR;
  1270 
  1268 
  1271     return JNI_OK;
  1269     return JNI_OK;
  1272 }
  1270 }
  1273 
  1271 
  1274 #ifdef __cplusplus
  1272 }
  1275 }
       
  1276 #endif