RFR (S): 8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen
thomas.schatzl at oracle.com
Wed May 13 14:33:43 UTC 2015
can I have reviews for the following small fix: since JDK-8060025
survivor alignment has been applied to both survivor and old gen regions
(if enabled of course).
This has gone unnoticed, because the tests somehow detected that in this
situation everyhing is fine due to "someone else that allocated
The change fixes the problem (in g1Allocator.hpp), and removes this
strange bailout in the tests, at the same time disabling PLAB resizing
which causes too much wasted space (extra allocation) that otherwise
causes the test to fail.
no performance changes in object copy times, several JPRT runs in the
process, making sure there are no failures.
More information about the hotspot-gc-dev