src/hotspot/share/runtime/threadSMR.hpp
changeset 54955 46409371a691
parent 53244 9807daeb47c4
--- a/src/hotspot/share/runtime/threadSMR.hpp	Tue May 21 00:52:04 2019 -0700
+++ b/src/hotspot/share/runtime/threadSMR.hpp	Tue May 21 10:34:57 2019 +0200
@@ -86,6 +86,7 @@
 // SMR Support for the Threads class.
 //
 class ThreadsSMRSupport : AllStatic {
+  friend class VMStructs;
   friend class SafeThreadsListPtr;  // for _nested_thread_list_max, delete_notify(), release_stable_list_wake_up() access
 
   // The coordination between ThreadsSMRSupport::release_stable_list() and
@@ -158,6 +159,7 @@
 // A fast list of JavaThreads.
 //
 class ThreadsList : public CHeapObj<mtThread> {
+  friend class VMStructs;
   friend class SafeThreadsListPtr;  // for {dec,inc}_nested_handle_cnt() access
   friend class ThreadsSMRSupport;  // for _nested_handle_cnt, {add,remove}_thread(), {,set_}next_list() access