< prev index next >

src/hotspot/share/include/jvm.h

Print this page
rev 63569 : Merge

@@ -61,11 +61,11 @@
  * 2. There is a change in the contract between VM and Java classes.
  *    For example, if the VM relies on a new private field in Thread
  *    class.
  */
 
-#define JVM_INTERFACE_VERSION 6
+#define JVM_INTERFACE_VERSION 7
 
 JNIEXPORT jint JNICALL
 JVM_GetInterfaceVersion(void);
 
 /*************************************************************************

@@ -159,10 +159,25 @@
 JVM_ActiveProcessorCount(void);
 
 JNIEXPORT jboolean JNICALL
 JVM_IsUseContainerSupport(void);
 
+JNIEXPORT jlong JNICALL
+JVM_AddressOf(jobject obj);
+
+JNIEXPORT jlong JNICALL
+JVM_SizeOf(jobject obj);
+
+JNIEXPORT jlong JNICALL
+JVM_FieldOffsetOf(jobject field);
+
+JNIEXPORT jlong JNICALL
+JVM_FieldSizeOf(jobject field);
+
+JNIEXPORT jint JNICALL
+JVM_GetReferencedObjects(jobject obj, jobjectArray ref_buf);
+
 JNIEXPORT void * JNICALL
 JVM_LoadLibrary(const char *name);
 
 JNIEXPORT void JNICALL
 JVM_UnloadLibrary(void * handle);
< prev index next >