mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
This commit is contained in:
parent
c671f2ff04
commit
759740976b
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ void HeapRegion::hr_clear(bool par, bool clear_space, bool locked) {
|
|||
"we should have already filtered out humongous regions");
|
||||
assert(_end == orig_end(),
|
||||
"we should have already filtered out humongous regions");
|
||||
|
||||
_in_collection_set = false;
|
||||
assert(!_in_collection_set,
|
||||
err_msg("Should not clear heap region %u in the collection set", hrm_index()));
|
||||
|
||||
set_allocation_context(AllocationContext::system());
|
||||
set_young_index_in_cset(-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue