mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
c201c739e4
commit
b6c292d65d
3 changed files with 12 additions and 3 deletions
|
@ -276,6 +276,7 @@ void ContiguousSpace::initialize(MemRegion mr, bool clear_space) {
|
|||
set_top(bottom());
|
||||
set_saved_mark();
|
||||
if (clear_space) clear();
|
||||
set_concurrent_iteration_safe_limit(top());
|
||||
}
|
||||
|
||||
void ContiguousSpace::clear() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue