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

Ivan Walulya iwalulya at openjdk.org
Mon Oct 9 15:22:55 UTC 2023


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

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

Commit messages:
 - initial

Changes: https://git.openjdk.org/jdk/pull/16102/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16102&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8170817
  Stats: 8 lines in 1 file changed: 5 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16102.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16102/head:pull/16102

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


More information about the hotspot-gc-dev mailing list