RFR: 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping

Thomas Schatzl tschatzl at openjdk.org
Wed Oct 11 12:02:18 UTC 2023


On Mon, 9 Oct 2023 15:14:42 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi all,
> 
> Please review this small change to return the maximum allowed TLAB size from `unsafe_max_tlab_alloc` in case the current region does not have enough free space to allocate MinTLABSize. We assume that the next TLAB allocation will happen in a new region.
> 
> Testing: Tier 1-3.
> 
> Thanks

Lgtm. Thanks for the documentation

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

Marked as reviewed by tschatzl (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16102#pullrequestreview-1671003439


More information about the hotspot-gc-dev mailing list