RFR: 8327097: GenShen: Align PLAB sizes down rather than up [v4]

Kelvin Nilsen kdnilsen at openjdk.org
Tue Mar 19 16:41:49 UTC 2024


> When adjusting LAB sizes, round down rather than rounding up.  Otherwise, we may violate the ShenandoahHumongousThreshold bound.

Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:

  Force size to align up
  
  A newly allocated PLAB needs, at minimum, to be as large as the object
  that is goign to be allocated from within it.

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/401/files
  - new: https://git.openjdk.org/shenandoah/pull/401/files/e094aa03..5de18812

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=shenandoah&pr=401&range=03
 - incr: https://webrevs.openjdk.org/?repo=shenandoah&pr=401&range=02-03

  Stats: 8 lines in 1 file changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/shenandoah/pull/401.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah.git pull/401/head:pull/401

PR: https://git.openjdk.org/shenandoah/pull/401


More information about the shenandoah-dev mailing list