changeset 58095 | adc72cd1d1f2 |
parent 58041 | d8902e9c307c |
child 58543 | a7a606f6311c |
--- a/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Thu Sep 12 03:21:11 2019 +0200 +++ b/src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Wed Sep 11 22:09:05 2019 -0400 @@ -242,7 +242,7 @@ } cur = MAX2<size_t>(1, cur); - os::sleep(JavaThread::current(), cur); + JavaThread::current()->sleep(cur); double end = os::elapsedTime(); total = (size_t)((end - start) * 1000);