--- old/src/hotspot/os/posix/semaphore_posix.hpp 2018-01-08 16:26:21.610151643 -0500 +++ new/src/hotspot/os/posix/semaphore_posix.hpp 2018-01-08 16:26:21.271153019 -0500 @@ -45,15 +45,7 @@ void wait(); bool trywait(); - bool timedwait(unsigned int sec, int nsec) { - return timedwait(create_timespec(sec, nsec)); - } - - private: bool timedwait(struct timespec ts); - - // OS specific implementation to create a timespec suitable for semaphores. - struct timespec create_timespec(unsigned int set, int nsec); }; typedef PosixSemaphore SemaphoreImpl;