RFR: 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes

Albert Mingkun Yang ayang at openjdk.org
Mon Sep 25 12:33:30 UTC 2023


Simple fix around unaligned PLAB size. Due to a circular dependency between the heap and PLAB initialization in G1, `_default_plab_size` picks up unaligned PLAB sizes, hence the additional alignment there.

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

Commit messages:
 - plab-align

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

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


More information about the hotspot-gc-dev mailing list