--- old/src/hotspot/share/prims/jvm.cpp 2019-09-04 05:35:39.911921636 -0400 +++ new/src/hotspot/share/prims/jvm.cpp 2019-09-04 05:35:38.840911299 -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) {