JDK-8347804 : GenShen: Crash with small GCCardSizeInBytes and small Java heap
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 24,25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc,aarch64
  • Submitted: 2025-01-15
  • Updated: 2025-04-07
  • Resolved: 2025-02-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b13Fixed
Related Reports
Causes :  
Relates :  
Relates :  
Description
The VM crashes on platforms with 64kB pages (MacOS aarch64, PPC64):
java -XX:GCCardSizeInBytes=128 -Xmx8m -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahGCMode=generational -version

shenandoahScanRemembered.cpp:865
assert(smallest_chunk_size_words() << (_maximum_groups - 1) == _maximum_chunk_size_words) failed: Maximum number of groups needs to span maximum chunk size to smallest chunk size

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/shenandoah-jdk21u/pull/170 Date: 2025-04-04 20:03:46 +0000
04-04-2025

Changeset: 0a4c5a8a Branch: master Author: Kelvin Nilsen <kdnilsen@openjdk.org> Date: 2025-02-27 23:10:16 +0000 URL: https://git.openjdk.org/jdk/commit/0a4c5a8a483b23ec8c534054187c44f986d137bb
27-02-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23373 Date: 2025-01-30 18:55:53 +0000
30-01-2025