equal
deleted
inserted
replaced
130 |
130 |
131 uint total_workers() const { return _total_workers; } |
131 uint total_workers() const { return _total_workers; } |
132 |
132 |
133 virtual uint active_workers() const { |
133 virtual uint active_workers() const { |
134 assert(_active_workers <= _total_workers, |
134 assert(_active_workers <= _total_workers, |
135 err_msg("_active_workers: %u > _total_workers: %u", _active_workers, _total_workers)); |
135 "_active_workers: %u > _total_workers: %u", _active_workers, _total_workers); |
136 assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers, |
136 assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers, |
137 "Unless dynamic should use total workers"); |
137 "Unless dynamic should use total workers"); |
138 return _active_workers; |
138 return _active_workers; |
139 } |
139 } |
140 void set_active_workers(uint v) { |
140 void set_active_workers(uint v) { |