--- a/src/hotspot/share/runtime/os.hpp Thu Sep 12 03:21:11 2019 +0200
+++ b/src/hotspot/share/runtime/os.hpp Wed Sep 11 22:09:05 2019 -0400
@@ -464,8 +464,7 @@
// thread id on Linux/64bit is 64bit, on Windows and Solaris, it's 32bit
static intx current_thread_id();
static int current_process_id();
- // Implementation of java.lang.Thread.sleep for JavaThreads
- static int sleep(JavaThread* thread, jlong ms);
+
// Short standalone OS sleep routines suitable for slow path spin loop.
// Ignores safepoints/suspension/Thread.interrupt() (so keep it short).
// ms/ns = 0, will sleep for the least amount of time allowed by the OS.