diff 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
line wrap: on
line diff
--- a/src/share/javavm/export/jmm.h	Mon May 16 13:10:59 2011 +0100
+++ b/src/share/javavm/export/jmm.h	Mon May 16 17:28:18 2011 +0200
@@ -48,7 +48,7 @@
   JMM_VERSION_1_0 = 0x20010000,
   JMM_VERSION_1_1 = 0x20010100, // JDK 6
   JMM_VERSION_1_2 = 0x20010200, // JDK 7
-  JMM_VERSION     = 0x20010200
+  JMM_VERSION     = 0x20010201
 };
 
 typedef struct {
@@ -293,6 +293,9 @@
                                                   jlongArray ids,
                                                   jboolean lockedMonitors,
                                                   jboolean lockedSynchronizers);
+   void         (JNICALL *SetGCNotificationEnabled) (JNIEnv *env,
+                                                  jobject mgr,
+                                                  jboolean enabled);
 } JmmInterface;
 
 #ifdef __cplusplus