< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/jvmti/SetThreadLocalStorage/setthrdstor001/setthrdstor001.cpp

Print this page
rev 52100 : 8212082: Remove the NSK_CPP_STUB macros for remaining vmTestbase/jvmti/[sS]*
Summary:
Reviewed-by:

*** 71,83 **** return; NSK_DISPLAY1(" ... found thread: %p\n", (void*)testedThread); NSK_DISPLAY1("SetThreadLocalStorage() for tested thread with pointer: %p\n", (void*)initialStorage); ! if (!NSK_JVMTI_VERIFY( ! NSK_CPP_STUB3(SetThreadLocalStorage, jvmti, ! testedThread, (void*)initialStorage))) { nsk_jvmti_setFailStatus(); return; } NSK_DISPLAY0("Let tested thread to run\n"); --- 71,81 ---- return; NSK_DISPLAY1(" ... found thread: %p\n", (void*)testedThread); NSK_DISPLAY1("SetThreadLocalStorage() for tested thread with pointer: %p\n", (void*)initialStorage); ! if (!NSK_JVMTI_VERIFY(jvmti->SetThreadLocalStorage(testedThread, (void*)initialStorage))) { nsk_jvmti_setFailStatus(); return; } NSK_DISPLAY0("Let tested thread to run\n");
*** 88,99 **** if (!nsk_jvmti_waitForSync(timeout)) return; NSK_DISPLAY0("GetThreadLocalStorage() for tested thread\n"); if (!NSK_JVMTI_VERIFY( ! NSK_CPP_STUB3(GetThreadLocalStorage, jvmti, ! testedThread, (void**)&obtainedStorage))) { nsk_jvmti_setFailStatus(); return; } NSK_DISPLAY1(" ... got storage: %p\n", (void*)obtainedStorage); --- 86,96 ---- if (!nsk_jvmti_waitForSync(timeout)) return; NSK_DISPLAY0("GetThreadLocalStorage() for tested thread\n"); if (!NSK_JVMTI_VERIFY( ! jvmti->GetThreadLocalStorage(testedThread, (void**)&obtainedStorage))) { nsk_jvmti_setFailStatus(); return; } NSK_DISPLAY1(" ... got storage: %p\n", (void*)obtainedStorage);
*** 126,136 **** nsk_jvmti_setFailStatus(); } } NSK_DISPLAY0("Delete thread reference\n"); ! NSK_TRACE(NSK_CPP_STUB2(DeleteGlobalRef, jni, testedThread)); } NSK_DISPLAY0("Let debugee to finish\n"); if (!nsk_jvmti_resumeSync()) return; --- 123,133 ---- nsk_jvmti_setFailStatus(); } } NSK_DISPLAY0("Delete thread reference\n"); ! NSK_TRACE(jni->DeleteGlobalRef(testedThread)); } NSK_DISPLAY0("Let debugee to finish\n"); if (!nsk_jvmti_resumeSync()) return;
< prev index next >