equal
deleted
inserted
replaced
46 enum { |
46 enum { |
47 JMM_VERSION_1 = 0x20010000, |
47 JMM_VERSION_1 = 0x20010000, |
48 JMM_VERSION_1_0 = 0x20010000, |
48 JMM_VERSION_1_0 = 0x20010000, |
49 JMM_VERSION_1_1 = 0x20010100, // JDK 6 |
49 JMM_VERSION_1_1 = 0x20010100, // JDK 6 |
50 JMM_VERSION_1_2 = 0x20010200, // JDK 7 |
50 JMM_VERSION_1_2 = 0x20010200, // JDK 7 |
51 JMM_VERSION = 0x20010200 |
51 JMM_VERSION = 0x20010201 |
52 }; |
52 }; |
53 |
53 |
54 typedef struct { |
54 typedef struct { |
55 unsigned int isLowMemoryDetectionSupported : 1; |
55 unsigned int isLowMemoryDetectionSupported : 1; |
56 unsigned int isCompilationTimeMonitoringSupported : 1; |
56 unsigned int isCompilationTimeMonitoringSupported : 1; |
291 void* reserved6; |
291 void* reserved6; |
292 jobjectArray (JNICALL *DumpThreads) (JNIEnv *env, |
292 jobjectArray (JNICALL *DumpThreads) (JNIEnv *env, |
293 jlongArray ids, |
293 jlongArray ids, |
294 jboolean lockedMonitors, |
294 jboolean lockedMonitors, |
295 jboolean lockedSynchronizers); |
295 jboolean lockedSynchronizers); |
|
296 void (JNICALL *SetGCNotificationEnabled) (JNIEnv *env, |
|
297 jobject mgr, |
|
298 jboolean enabled); |
296 } JmmInterface; |
299 } JmmInterface; |
297 |
300 |
298 #ifdef __cplusplus |
301 #ifdef __cplusplus |
299 } /* extern "C" */ |
302 } /* extern "C" */ |
300 #endif /* __cplusplus */ |
303 #endif /* __cplusplus */ |