RFR: 8315781: Reduce the max value of GCDrainStackTargetSize
Thomas Schatzl
tschatzl at openjdk.org
Wed Sep 6 12:33:41 UTC 2023
On Wed, 6 Sep 2023 12:20:01 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple adjustment to the max value of `GCDrainStackTargetSize`.
>
> I picked 8K because the default queue capacity is ~16K and G1 use 2x of `GCDrainStackTargetSize` as some threshold.
Lgtm. I think `8 * K` can be written there as well.
src/hotspot/share/gc/shared/gc_globals.hpp line 690:
> 688: "Number of entries we will try to leave on the stack " \
> 689: "during parallel gc") \
> 690: range(0, 8*1024) \
Suggestion:
range(0, 8 * 1024) \
-------------
Marked as reviewed by tschatzl (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15590#pullrequestreview-1613218008
PR Review Comment: https://git.openjdk.org/jdk/pull/15590#discussion_r1317207597
More information about the hotspot-gc-dev
mailing list