RFR: 8301116: Parallelize TLAB resizing in G1 [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 6 10:28:04 UTC 2023


On Mon, 6 Feb 2023 08:41:48 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Two minor suggestions:
> 
>     1. I think "inlining" the logic of `G1JavaThreadsListClaimer` makes the flow in the caller more transparent.
> 

The `G1JavaThreadsListClaimer` will be used in the next PR about parallelizing TLAB retiring; however we came up with a nicer version of the claimer that hides the claiming implementation detail.

>     2. `ResizeThreadLABs` -> `ResizeTLABs`, just to be consistent with other *TLAB occurrences.

Unfortunately there is already the global option `ResizeTLAB`, and I did not want to have two (fairly global) constants to have almost the same name.

-------------

PR: https://git.openjdk.org/jdk/pull/12360


More information about the hotspot-gc-dev mailing list