8155263: DisableStartThread should not be applied to GC worker threads
authorjmasa
Wed, 06 Jul 2016 13:23:10 -0700
changeset 39984 8ecc78131588
parent 39981 eb1282859915
child 39985 d0483d09cb9a
8155263: DisableStartThread should not be applied to GC worker threads Reviewed-by: tschatzl, sangheki
hotspot/src/share/vm/gc/shared/concurrentGCThread.cpp
--- a/hotspot/src/share/vm/gc/shared/concurrentGCThread.cpp	Tue Jul 19 18:15:46 2016 +0300
+++ b/hotspot/src/share/vm/gc/shared/concurrentGCThread.cpp	Wed Jul 06 13:23:10 2016 -0700
@@ -43,7 +43,7 @@
     // unless "aggressive mode" set; priority
     // should be just less than that of VMThread.
     os::set_priority(this, prio);
-    if (!_should_terminate && !DisableStartThread) {
+    if (!_should_terminate) {
       os::start_thread(this);
     }
   }