< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/jvmti/IterateOverObjectsReachableFromObject/iterobjreachobj004/iterobjreachobj004.cpp
Print this page
rev 52200 : [mq]: spaces
*** 40,56 ****
static const char* objectFieldName = "object";
/* ============================================================================= */
jvmtiIterationControl JNICALL
! objectReferenceCallback( jvmtiObjectReferenceKind reference_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong referrer_tag,
! jint referrer_index,
! void* user_data) {
objCounter++;
if (!NSK_JVMTI_VERIFY(st_jvmti->SetEnvironmentLocalStorage(storage_data))) {
nsk_jvmti_setFailStatus();
--- 40,56 ----
static const char* objectFieldName = "object";
/* ============================================================================= */
jvmtiIterationControl JNICALL
! objectReferenceCallback(jvmtiObjectReferenceKind reference_kind,
! jlong class_tag,
! jlong size,
! jlong* tag_ptr,
! jlong referrer_tag,
! jint referrer_index,
! void* user_data) {
objCounter++;
if (!NSK_JVMTI_VERIFY(st_jvmti->SetEnvironmentLocalStorage(storage_data))) {
nsk_jvmti_setFailStatus();
*** 119,129 ****
nsk_jvmti_setFailStatus();
}
if (strcmp(storage_data, (char *)storage_ptr) != 0) {
NSK_COMPLAIN2("Local storage was corrupted: %s ,\n\texpected value: %s\n",
! (char *)storage_ptr, storage_data );
nsk_jvmti_setFailStatus();
}
} while (0);
NSK_DISPLAY0("Let debugee to finish\n");
--- 119,129 ----
nsk_jvmti_setFailStatus();
}
if (strcmp(storage_data, (char *)storage_ptr) != 0) {
NSK_COMPLAIN2("Local storage was corrupted: %s ,\n\texpected value: %s\n",
! (char *)storage_ptr, storage_data);
nsk_jvmti_setFailStatus();
}
} while (0);
NSK_DISPLAY0("Let debugee to finish\n");
< prev index next >