Skip to content

Commit

Permalink
8348241: ZGC: Unnecessarily reinitialize ZFragmentationLimit's defaul…
Browse files Browse the repository at this point in the history
…t value

Reviewed-by: stefank
  • Loading branch information
zhengyu123 committed Jan 23, 2025
1 parent b720517 commit a36e166
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/z/zArguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a36e166

Please sign in to comment.