8027960: Assertion assert(end >= start) failed during nightly testing on solaris
authorsjohanss
Fri, 08 Nov 2013 17:46:53 +0100
changeset 21570 7006807e3cc8
parent 21569 094a031ae9e3
child 21571 a3999342fb24
8027960: Assertion assert(end >= start) failed during nightly testing on solaris Summary: Needed to update _space_alignment in generation sizer to ensure correct sizing of spaces. Reviewed-by: jmasa, tschatzl
hotspot/src/share/vm/gc_implementation/parallelScavenge/generationSizer.cpp
--- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/generationSizer.cpp	Mon Nov 11 16:20:48 2013 +0100
+++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/generationSizer.cpp	Fri Nov 08 17:46:53 2013 +0100
@@ -75,6 +75,7 @@
   size_t new_alignment = round_to(page_sz, _gen_alignment);
   if (new_alignment != _gen_alignment) {
     _gen_alignment = new_alignment;
+    _space_alignment = new_alignment;
     // Redo everything from the start
     initialize_flags();
   }