--- old/src/hotspot/share/runtime/threadSMR.hpp 2020-04-02 14:23:14.505307671 +0000 +++ new/src/hotspot/share/runtime/threadSMR.hpp 2020-04-02 14:23:13.646286866 +0000 @@ -129,7 +129,6 @@ static void inc_deleted_thread_cnt(); static void inc_java_thread_list_alloc_cnt(); static void inc_tlh_cnt(); - static bool is_a_protected_JavaThread(JavaThread *thread); static void release_stable_list_wake_up(bool is_nested); static void set_delete_notify(); static void threads_do(ThreadClosure *tc); @@ -143,7 +142,8 @@ public: static void add_thread(JavaThread *thread); static ThreadsList* get_java_thread_list(); - static bool is_a_protected_JavaThread_with_lock(JavaThread *thread, bool skiplock = false); + static bool is_a_protected_JavaThread(JavaThread *thread); + static bool is_a_protected_JavaThread_with_lock(JavaThread *thread); static bool is_bootstrap_list(ThreadsList* list); static void remove_thread(JavaThread *thread); static void smr_delete(JavaThread *thread);