mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8155263: DisableStartThread should not be applied to GC worker threads
Reviewed-by: tschatzl, sangheki
This commit is contained in:
parent
c6f30feaec
commit
631036a07b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void ConcurrentGCThread::create_and_start(ThreadPriority prio) {
|
|||
// 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue