comparison src/share/javavm/export/jmm.h @ 4235:e0c3fd538f1f

7036199: Adding a notification to the implementation of GarbageCollectorMXBeans Summary: Add a JMX notification to GarbageCollectorMXBeans Reviewed-by: acorn, mchung
author fparain
date Mon, 16 May 2011 17:28:18 +0200
parents c73c178159d8
children 0194fe5ca404
comparison
equal deleted inserted replaced
2:a25a7c595b88 3:cf99fc639d1d
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 */