--- a/src/hotspot/share/runtime/thread.hpp Wed Mar 20 23:32:57 2019 -0400
+++ b/src/hotspot/share/runtime/thread.hpp Thu Mar 21 03:00:28 2019 -0400
@@ -1348,16 +1348,10 @@
inline void clear_ext_suspended();
public:
- void java_suspend(); // higher-level suspension logic called by the public APIs
- void java_resume(); // higher-level resume logic called by the public APIs
- int java_suspend_self(); // low-level self-suspension mechanics
+ void java_suspend();
+ void java_resume();
+ int java_suspend_self();
- private:
- // mid-level wrapper around java_suspend_self to set up correct state and
- // check for a pending safepoint at the end
- void java_suspend_self_with_safepoint_check();
-
- public:
void check_and_wait_while_suspended() {
assert(JavaThread::current() == this, "sanity check");