mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8159073: : Error handling incomplete when creating GC threads lazily
Reviewed-by: drwhite, tschatzl, sangheki
This commit is contained in:
parent
a3cd491780
commit
d618ceab2e
12 changed files with 53 additions and 23 deletions
|
@ -537,7 +537,7 @@ void GCTaskManager::task_idle_workers() {
|
|||
created_workers() - active_workers() - idle_workers();
|
||||
if (more_inactive_workers < 0) {
|
||||
int reduced_active_workers = active_workers() + more_inactive_workers;
|
||||
set_active_workers(reduced_active_workers);
|
||||
update_active_workers(reduced_active_workers);
|
||||
more_inactive_workers = 0;
|
||||
}
|
||||
log_trace(gc, task)("JT: %d workers %d active %d idle %d more %d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue