--- old/test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp 2019-09-08 23:48:23.315212512 -0400 +++ new/test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp 2019-09-08 23:48:22.129200333 -0400 @@ -224,7 +224,7 @@ tty->print_cr("Stressing allocator 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(&allocator_running, false); for (uint i = 0; i < nthreads; ++i) {