--- old/src/share/vm/gc/shared/concurrentGCThread.hpp 2016-03-10 16:29:20.382003053 +0100 +++ new/src/share/vm/gc/shared/concurrentGCThread.hpp 2016-03-10 16:29:20.243997251 +0100 @@ -56,37 +56,4 @@ bool is_ConcurrentGC_thread() const { return true; } }; -// The SurrogateLockerThread is used by concurrent GC threads for -// manipulating Java monitors, in particular, currently for -// manipulating the pending_list_lock. XXX -class SurrogateLockerThread: public JavaThread { - friend class VMStructs; - public: - enum SLT_msg_type { - empty = 0, // no message - acquirePLL, // acquire pending list lock - releaseAndNotifyPLL // notify and release pending list lock - }; - private: - // the following are shared with the CMSThread - SLT_msg_type _buffer; // communication buffer - Monitor _monitor; // monitor controlling buffer - BasicLock _basicLock; // used for PLL locking - - public: - static SurrogateLockerThread* make(TRAPS); - - // Terminate VM with error message that SLT needed but not yet created. - static void report_missing_slt(); - - SurrogateLockerThread(); - - bool is_hidden_from_external_view() const { return true; } - - void loop(); // main method - - void manipulatePLL(SLT_msg_type msg); - -}; - #endif // SHARE_VM_GC_SHARED_CONCURRENTGCTHREAD_HPP