Skip to content

Commit

Permalink
8316906: Clarify TLABWasteTargetPercent flag
Browse files Browse the repository at this point in the history
Reviewed-by: ayang, iwalulya, tschatzl
  • Loading branch information
Ludvig Janiuk authored and Thomas Schatzl committed Sep 28, 2023
1 parent 2d154fc commit 77fac0f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/hotspot/share/gc/shared/tlab_globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@
"Allocation averaging weight") \
range(0, 100) \
\
/* At GC all TLABs are retired, and each thread's active */ \
/* TLAB is assumed to be half full on average. The */ \
/* remaining space is waste, proportional to TLAB size. */ \
product(uintx, TLABWasteTargetPercent, 1, \
"Percentage of Eden that can be wasted (half-full TLABs at GC)") \
/* Limit the lower bound of this flag to 1 as it is used */ \
/* in a division expression. */ \
product(uintx, TLABWasteTargetPercent, 1, \
"Percentage of Eden that can be wasted") \
range(1, 100) \
\
product(uintx, TLABRefillWasteFraction, 64, \
Expand Down

0 comments on commit 77fac0f

Please sign in to comment.