8210045: Allow using a subset of worker threads even when UseDynamicNumberOfGCThreads is not set
Reviewed-by: eosterlund, kbarrett
This commit is contained in:
parent
3de7598a3f
commit
16263ca90c
@ -154,8 +154,6 @@ class AbstractWorkGang : public CHeapObj<mtInternal> {
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -76,9 +76,6 @@ void ZArguments::initialize() {
|
||||
}
|
||||
#endif
|
||||
|
||||
// To avoid asserts in set_active_workers()
|
||||
FLAG_SET_DEFAULT(UseDynamicNumberOfGCThreads, true);
|
||||
|
||||
// CompressedOops/UseCompressedClassPointers not supported
|
||||
FLAG_SET_DEFAULT(UseCompressedOops, false);
|
||||
FLAG_SET_DEFAULT(UseCompressedClassPointers, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user