< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateOverReachableObjects/iterreachobj003/iterreachobj003.cpp
Print this page
rev 52200 : [mq]: spaces
*** 42,56 ****
/* ============================================================================= */
/* jvmtiHeapRootCallback */
jvmtiIterationControl JNICALL
! heapRootCallback( jvmtiHeapRootKind root_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
--- 42,56 ----
/* ============================================================================= */
/* jvmtiHeapRootCallback */
jvmtiIterationControl JNICALL
! heapRootCallback(jvmtiHeapRootKind root_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
*** 102,120 ****
return JVMTI_ITERATION_CONTINUE;
}
/* jvmtiStackReferenceCallback */
jvmtiIterationControl JNICALL
! stackReferenceCallback( jvmtiHeapRootKind root_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong thread_tag,
! jint depth,
! jmethodID method,
! jint slot,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
--- 102,120 ----
return JVMTI_ITERATION_CONTINUE;
}
/* jvmtiStackReferenceCallback */
jvmtiIterationControl JNICALL
! stackReferenceCallback(jvmtiHeapRootKind root_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong thread_tag,
! jint depth,
! jmethodID method,
! jint slot,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
*** 167,183 ****
}
/* jvmtiObjectReferenceCallback */
jvmtiIterationControl JNICALL
! objectReferenceCallback( jvmtiObjectReferenceKind reference_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong referrer_tag,
! jint referrer_index,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
--- 167,183 ----
}
/* jvmtiObjectReferenceCallback */
jvmtiIterationControl JNICALL
! objectReferenceCallback(jvmtiObjectReferenceKind reference_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong referrer_tag,
! jint referrer_index,
! void* user_data) {
jrawMonitorID monitor_ptr = NULL;
*tag_ptr = (jlong)++objCounter;
< prev index next >