comparison src/share/vm/memory/space.cpp @ 347:60fb9c4db4e6

6718086: CMS assert: _concurrent_iteration_safe_limit update missed Summary: 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
author ysr
date Mon, 23 Jun 2008 16:49:37 -0700
parents 6aae2f9d0294
children 1ee8caae33af
comparison
equal deleted inserted replaced
346:bb254e57d2f4 347:60fb9c4db4e6
274 CompactibleSpace::initialize(mr, false); // We'll do the clearing if there's 274 CompactibleSpace::initialize(mr, false); // We'll do the clearing if there's
275 // clearing to be done. 275 // clearing to be done.
276 set_top(bottom()); 276 set_top(bottom());
277 set_saved_mark(); 277 set_saved_mark();
278 if (clear_space) clear(); 278 if (clear_space) clear();
279 set_concurrent_iteration_safe_limit(top());
279 } 280 }
280 281
281 void ContiguousSpace::clear() { 282 void ContiguousSpace::clear() {
282 set_top(bottom()); 283 set_top(bottom());
283 set_saved_mark(); 284 set_saved_mark();