< prev index next >
src/share/vm/gc/shared/workgroup.hpp
Print this page
*** 130,140 ****
uint total_workers() const { return _total_workers; }
virtual uint active_workers() const {
assert(_active_workers <= _total_workers,
! err_msg("_active_workers: %u > _total_workers: %u", _active_workers, _total_workers));
assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers,
"Unless dynamic should use total workers");
return _active_workers;
}
void set_active_workers(uint v) {
--- 130,140 ----
uint total_workers() const { return _total_workers; }
virtual uint active_workers() const {
assert(_active_workers <= _total_workers,
! "_active_workers: %u > _total_workers: %u", _active_workers, _total_workers);
assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers,
"Unless dynamic should use total workers");
return _active_workers;
}
void set_active_workers(uint v) {
< prev index next >