< prev index next >

src/java.base/share/native/libjava/Runtime.c

Print this page
rev 63602 : Rename getReferences0 -> getReferencedObjects

*** 68,72 **** --- 68,102 ---- JNIEXPORT jint JNICALL Java_java_lang_Runtime_availableProcessors(JNIEnv *env, jobject this) { return JVM_ActiveProcessorCount(); } + + JNIEXPORT jlong JNICALL + Java_java_lang_Runtime_sizeOf0(JNIEnv *env, jclass cls, jobject obj) + { + return JVM_SizeOf(obj); + } + + JNIEXPORT jint JNICALL + Java_java_lang_Runtime_getReferencedObjects(JNIEnv *env, jclass cls, jobject obj, jobjectArray ref_buf) + { + return JVM_GetReferencedObjects(obj, ref_buf); + } + + JNIEXPORT jlong JNICALL + Java_java_lang_Runtime_addressOf0(JNIEnv *env, jclass cls, jobject field) + { + return JVM_AddressOf(field); + } + + JNIEXPORT jlong JNICALL + Java_java_lang_Runtime_fieldOffsetOf0(JNIEnv *env, jclass cls, jobject field) + { + return JVM_FieldOffsetOf(field); + } + + JNIEXPORT jlong JNICALL + Java_java_lang_Runtime_fieldSizeOf0(JNIEnv *env, jclass cls, jobject field) + { + return JVM_FieldSizeOf(field); + }
< prev index next >