8155263: DisableStartThread should not be applied to GC worker threads
Reviewed-by: tschatzl, sangheki
--- 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);
}
}