RFR: 8347804: GenShen: Crash with small GCCardSizeInBytes and small Java heap

Kelvin Nilsen kdnilsen at openjdk.org
Tue Feb 18 19:49:54 UTC 2025


Original implementation was not robust to overriding of CardSizeInBytes, especially to smaller values.  This fixes that issue.

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

Commit messages:
 - 8348092: Shenandoah: assert(nk >= _lowest_valid_narrow_klass_id && nk <= _highest_valid_narrow_klass_id) failed: narrowKlass ID out of range (3131947710)
 - Merge tag 'jdk-25+10' into fix-small-card-size
 - Remove SIZE_FORMAT usage
 - Merge tag 'jdk-25+9' into fix-small-card-size
 - Remove debug instrumentation
 - Fix several bookkeeping errors
 - Revert "Remove debug instrumentation"
 - Remove debug instrumentation
 - Use snprintf instead of sprintf
 - Add a jtreg test for small card size
 - ... and 1 more: https://git.openjdk.org/jdk/compare/a637ccf2...7120cdf3

Changes: https://git.openjdk.org/jdk/pull/23373/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23373&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347804
  Stats: 107 lines in 6 files changed: 79 ins; 4 del; 24 mod
  Patch: https://git.openjdk.org/jdk/pull/23373.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23373/head:pull/23373

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


More information about the shenandoah-dev mailing list