JDK-8017500 : G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:hs24
Priority:P2
Status:Resolved
Resolution:Duplicate
Submitted:2013-06-24
Updated:2023-08-21
Resolved:2013-06-25
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.
hs24 shows the same behavior as hs25. E.g. running
java -XX:+UseG1GC -XX:G1HeapRegionSize=32M -version
eventually exits with
Error occurred during initialization of VM
Size of g1 heap and perm (3158310912 bytes) must be aligned to 33554432 bytes
VM version detail:
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-thomas_2013_06_18_21_15-b00)
OpenJDK 64-Bit Server VM (build 24.0-b50-internal-jvmg, mixed mode)