Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
8242042: Shenandoah: tune down ShenandoahGarbageThreshold
Browse files Browse the repository at this point in the history
Reviewed-by: rkennke
  • Loading branch information
shipilev committed Apr 3, 2020
1 parent f82e44c commit 62b7404
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp
Expand Up @@ -94,11 +94,12 @@
"GC cycles, as degenerated and full GCs would try to unload " \ "GC cycles, as degenerated and full GCs would try to unload " \
"classes regardless. Set to zero to disable class unloading.") \ "classes regardless. Set to zero to disable class unloading.") \
\ \
experimental(uintx, ShenandoahGarbageThreshold, 60, \ experimental(uintx, ShenandoahGarbageThreshold, 25, \
"How much garbage a region has to contain before it would be " \ "How much garbage a region has to contain before it would be " \
"taken for collection. This a guideline only , as GC heuristics " \ "taken for collection. This a guideline only, as GC heuristics " \
"may select the region for collection even if it has little " \ "may select the region for collection even if it has little " \
"garbage. In percents of heap region size.") \ "garbage. This also affects how much internal fragmentation the " \
"collector accepts. In percents of heap region size.") \
range(0,100) \ range(0,100) \
\ \
experimental(uintx, ShenandoahInitFreeThreshold, 70, \ experimental(uintx, ShenandoahInitFreeThreshold, 70, \
Expand Down

0 comments on commit 62b7404

Please sign in to comment.