RFR(S): 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep

Aleksey Shipilev shade at redhat.com
Fri Sep 6 11:16:04 UTC 2019


On 9/4/19 11:39 AM, David Holmes wrote:
> I'd appreciate it if someone involved with Shenandoah can check the one change in that code.

src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp:
-    os::sleep(Thread::current(), cur, true);
+    os::sleep(JavaThread::current(), cur);

Since os::sleep keeps participating in safepoints ("interruptible = true") after this change, this
is fine.

-- 
Thanks,
-Aleksey



More information about the hotspot-dev mailing list