Request for reviews (S): 7014874: Incorrect COOPs modes on solaris-{sparcv9, amd64} with ParallelGC

Vladimir Kozlov vladimir.kozlov at
Thu Jan 27 22:18:05 UTC 2011

Fixed 7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC

scale_by_NewRatio_aligned() aligns boundary between old
and young gens to min_alignment() (64K). But code in
ParallelScavengeHeap::initialize() aligns up both old and
young gen sizes to large page size.
As result total heap size could be increased by one large
page and cross 4gb boundary preventing usage of 32-bit COOPs.

Align old gen size down to keep specified heap size but
not less than its old gen min size.

More information about the hotspot-gc-dev mailing list