RFR: 8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes [v2]

Thomas Schatzl tschatzl at openjdk.org
Tue Oct 15 08:57:28 UTC 2024


> Hi all,
> 
>   please review this change that makes VM initialization reject invalid combinations of `ObjectAlignmentInBytes` and `GCCardSizeInBytes`.
> 
> ObjectAlignmentInBytes larger than GCCardSizeInBytes causes issues with setting correct BOT offsets.
> 
> Testing: new test case, gha
> 
> Hth,
>   Thomas

Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:

  * shade review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21515/files
  - new: https://git.openjdk.org/jdk/pull/21515/files/8a08233c..2e86be6a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21515&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21515&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21515.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21515/head:pull/21515

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


More information about the hotspot-gc-dev mailing list