src/hotspot/share/prims/jvm.cpp
changeset 58041 d8902e9c307c
parent 57751 7284b00e6db3
child 58043 647d623650d3
--- a/src/hotspot/share/prims/jvm.cpp	Sat Sep 07 10:05:47 2019 -0700
+++ b/src/hotspot/share/prims/jvm.cpp	Sat Sep 07 18:48:57 2019 -0400
@@ -2978,7 +2978,7 @@
   } else {
     ThreadState old_state = thread->osthread()->get_state();
     thread->osthread()->set_state(SLEEPING);
-    if (os::sleep(thread, millis, true) == OS_INTRPT) {
+    if (os::sleep(thread, millis) == OS_INTRPT) {
       // An asynchronous exception (e.g., ThreadDeathException) could have been thrown on
       // us while we were sleeping. We do not overwrite those.
       if (!HAS_PENDING_EXCEPTION) {