Skip to content

Commit a36e166

Browse files
committed
8348241: ZGC: Unnecessarily reinitialize ZFragmentationLimit's default value
Reviewed-by: stefank
1 parent b720517 commit a36e166

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hotspot/share/gc/z/zArguments.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ void ZArguments::initialize() {
141141
FLAG_SET_ERGO_IF_DEFAULT(ZCollectionIntervalMajor, ZCollectionInterval);
142142
}
143143

144-
if (FLAG_IS_DEFAULT(ZFragmentationLimit)) {
145-
FLAG_SET_DEFAULT(ZFragmentationLimit, 5.0);
146-
}
147-
148144
// Set medium page size here because MaxTenuringThreshold may use it.
149145
ZHeuristics::set_medium_page_size();
150146

0 commit comments

Comments
 (0)