--- a/src/hotspot/os/solaris/os_solaris.cpp Thu Dec 20 02:51:01 2018 +0100
+++ b/src/hotspot/os/solaris/os_solaris.cpp Thu Dec 20 10:05:19 2018 +0100
@@ -2871,16 +2871,6 @@
return res;
}
-void os::naked_short_sleep(jlong ms) {
- assert(ms < 1000, "Un-interruptable sleep, short time use only");
-
- // usleep is deprecated and removed from POSIX, in favour of nanosleep, but
- // Solaris requires -lrt for this.
- usleep((ms * 1000));
-
- return;
-}
-
// Sleep forever; naked call to OS-specific sleep; use with CAUTION
void os::infinite_sleep() {
while (true) { // sleep forever ...