diff 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
line wrap: on
line diff
--- a/src/share/vm/memory/space.cpp	Tue Jun 17 08:40:48 2008 -0700
+++ b/src/share/vm/memory/space.cpp	Mon Jun 23 16:49:37 2008 -0700
@@ -276,6 +276,7 @@
   set_top(bottom());
   set_saved_mark();
   if (clear_space) clear();
+  set_concurrent_iteration_safe_limit(top());
 }
 
 void ContiguousSpace::clear() {