< prev index next >
src/share/vm/gc/shared/workgroup.hpp
Print this page
*** 150,160 ****
_active_workers = MIN2(v, _total_workers);
assert(v != 0, "Trying to set active workers to 0");
_active_workers = MAX2(1U, _active_workers);
assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers,
"Unless dynamic should use total workers");
! log_info(gc, task)("GC Workers: %d", _active_workers);
}
// Return the Ith worker.
AbstractGangWorker* worker(uint i) const;
--- 150,160 ----
_active_workers = MIN2(v, _total_workers);
assert(v != 0, "Trying to set active workers to 0");
_active_workers = MAX2(1U, _active_workers);
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 the Ith worker.
AbstractGangWorker* worker(uint i) const;
< prev index next >