< prev index next >
src/share/vm/gc/shared/workgroup.hpp
Print this page
@@ -160,12 +160,10 @@
assert(v <= _total_workers,
"Trying to set more workers active than there are");
_active_workers = MIN2(v, _total_workers);
add_workers(false /* exit_on_failure */);
assert(v != 0, "Trying to set active workers to 0");
- assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers,
- "Unless dynamic should use total workers");
log_info(gc, task)("GC Workers: using %d out of %d", _active_workers, _total_workers);
return _active_workers;
}
// Add GC workers as needed.
< prev index next >