8078669: G1 applies SurvivorAlignmentInBytes to both survivor and old gen

After refactoring of the relevant code in JDK-8060025 the survivor alignment had been applied to any allocation within PLABs. Only do that for survivor allocations again. Improve the related tests to have less variance.

Reviewed-by: jmasa, fzhinkin
6 files changed