--- old/src/share/vm/gc/cms/concurrentMarkSweepThread.hpp 2016-03-09 16:00:20.427961482 -0500 +++ new/src/share/vm/gc/cms/concurrentMarkSweepThread.hpp 2016-03-09 16:00:20.268963470 -0500 @@ -85,19 +85,12 @@ static void print_all() { print_all_on(tty); } // Returns the CMS Thread - inline static ConcurrentMarkSweepThread* cmst() { - if (_cmst != NULL && !_cmst->_has_terminated) { - return _cmst; - } - return NULL; - } - + static ConcurrentMarkSweepThread* cmst() { return _cmst; } static CMSCollector* collector() { return _collector; } // Create and start the CMS Thread, or stop it on shutdown static ConcurrentMarkSweepThread* start(CMSCollector* collector); static void stop_all(); - static bool should_terminate() { return _cmst != NULL && _cmst->_should_terminate; } // Synchronization using CMS token static void synchronize(bool is_cms_thread);