--- old/src/hotspot/share/runtime/threadSMR.hpp 2020-04-06 14:31:54.086683493 +0000 +++ new/src/hotspot/share/runtime/threadSMR.hpp 2020-04-06 14:31:53.199662174 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -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,6 +142,7 @@ public: static void add_thread(JavaThread *thread); static ThreadsList* get_java_thread_list(); + 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);