--- old/test/hotspot/gtest/gc/g1/test_g1FreeIdSet.cpp 2019-09-08 23:48:19.574174094 -0400 +++ new/test/hotspot/gtest/gc/g1/test_g1FreeIdSet.cpp 2019-09-08 23:48:18.382161853 -0400 @@ -145,7 +145,7 @@ tty->print_cr("Stressing G1FreeIdSet for %u ms", milliseconds_to_run); { ThreadInVMfromNative invm(this_thread); - os::sleep(this_thread, milliseconds_to_run); + this_thread->sleep(milliseconds_to_run); } OrderAccess::release_store(&continue_running, false); for (uint i = 0; i < nthreads; ++i) {