--- old/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp 2019-09-04 05:35:29.995825926 -0400 +++ new/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp 2019-09-04 05:35:28.936815705 -0400 @@ -242,7 +242,7 @@ } cur = MAX2(1, cur); - os::sleep(Thread::current(), cur, true); + os::sleep(JavaThread::current(), cur); double end = os::elapsedTime(); total = (size_t)((end - start) * 1000);