< prev index next >

src/share/vm/gc/cms/concurrentMarkSweepThread.hpp

Print this page
rev 10389 : imported patch webrev.01
rev 10390 : imported patch webrev.02
rev 10391 : [mq]: webrev.03
rev 10392 : imported patch webrev.04

@@ -83,23 +83,16 @@
   // Printing
   static void print_all_on(outputStream* st);
   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);
   static void desynchronize(bool is_cms_thread);
   static bool vm_thread_has_cms_token() {
< prev index next >