6718086: CMS assert: _concurrent_iteration_safe_limit update missed

Initialize the field correctly in ContiguousSpace's constructor and initialize() methods, using the latter for the survivor spaces upon initial construction or a subsequent resizing of the young generation. Add some missing Space sub-class constructors.

Reviewed-by: apetrusenko
This commit is contained in:
Y. Srinivas Ramakrishna 2008-06-23 16:49:37 -07:00
parent c201c739e4
commit b6c292d65d
3 changed files with 12 additions and 3 deletions

View file

@ -227,8 +227,8 @@ void DefNewGeneration::compute_space_boundaries(uintx minimum_eden_size) {
eden()->mangle_unused_area();
}
}
from()->set_bounds(fromMR); from()->clear();
to()->set_bounds(toMR); to()->clear();
from()->initialize(fromMR, true /* clear */);
to()->initialize( toMR, true /* clear */);
// Make sure we compact eden, then from.
// The to-space is normally empty before a compaction so need
// not be considered. The exception is during promotion