mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 14:38:28 +00:00
8348241: ZGC: Unnecessarily reinitialize ZFragmentationLimit's default value
Reviewed-by: stefank
This commit is contained in:
parent
b720517cb3
commit
a36e166ec9
@ -141,10 +141,6 @@ void ZArguments::initialize() {
|
||||
FLAG_SET_ERGO_IF_DEFAULT(ZCollectionIntervalMajor, ZCollectionInterval);
|
||||
}
|
||||
|
||||
if (FLAG_IS_DEFAULT(ZFragmentationLimit)) {
|
||||
FLAG_SET_DEFAULT(ZFragmentationLimit, 5.0);
|
||||
}
|
||||
|
||||
// Set medium page size here because MaxTenuringThreshold may use it.
|
||||
ZHeuristics::set_medium_page_size();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user