changeset 50232 | 3c6dc4b291cd |
parent 50192 | 8bc79d2d1568 |
child 53244 | 9807daeb47c4 |
--- a/src/hotspot/share/runtime/semaphore.inline.hpp Thu May 17 18:09:19 2018 +0200 +++ b/src/hotspot/share/runtime/semaphore.inline.hpp Wed May 23 09:42:42 2018 +0200 @@ -38,14 +38,4 @@ _impl.wait(); } -inline void Semaphore::wait_with_safepoint_check() { - Thread* thread = Thread::current(); - if (thread->is_Java_thread()) { - wait_with_safepoint_check(static_cast<JavaThread*>(thread)); - } else { - // Wait for value - _impl.wait(); - } -} - #endif // SHARE_VM_RUNTIME_SEMAPHORE_INLINE_HPP