comparison test/hotspot/jtreg/vmTestbase/nsk/jvmti/ForceGarbageCollection/forcegc001/forcegc001.cpp @ 52064:054a24c46812

8211261: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[A-G]* Summary: Remove the NSK_CPP_STUB macros Reviewed-by: amenkov, cjplummer
author jcbeyler
date Mon, 08 Oct 2018 13:54:43 -0700
parents 79dc492c00ab
children
comparison
equal deleted inserted replaced
1:9d43ab94e63a 2:7e3a7aff8353
43 return; 43 return;
44 44
45 NSK_DISPLAY0(">>> Testcase #1: force GC to collect sofly reachable objects\n"); 45 NSK_DISPLAY0(">>> Testcase #1: force GC to collect sofly reachable objects\n");
46 { 46 {
47 NSK_DISPLAY0("Call ForceGarbageCollection()\n"); 47 NSK_DISPLAY0("Call ForceGarbageCollection()\n");
48 if (!NSK_JVMTI_VERIFY( 48 if (!NSK_JVMTI_VERIFY(jvmti->ForceGarbageCollection())) {
49 NSK_CPP_STUB1(ForceGarbageCollection, jvmti))) {
50 nsk_jvmti_setFailStatus(); 49 nsk_jvmti_setFailStatus();
51 return; 50 return;
52 } 51 }
53 NSK_DISPLAY0(" ... returnded\n"); 52 NSK_DISPLAY0(" ... returnded\n");
54 } 53 }