mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8145672: Remove dependency of G1FromCardCache to HeapRegionRemSet
Move HeapRegionRemSet::num_par_rem_sets() to G1RemSet, and document it. Reviewed-by: mgerdin, jmasa
This commit is contained in:
parent
365b569764
commit
056fb6bfd3
8 changed files with 33 additions and 31 deletions
|
@ -258,7 +258,6 @@ HeapRegion::HeapRegion(uint hrm_index,
|
|||
_predicted_bytes_to_copy(0)
|
||||
{
|
||||
_rem_set = new HeapRegionRemSet(sharedOffsetArray, this);
|
||||
assert(HeapRegionRemSet::num_par_rem_sets() > 0, "Invariant.");
|
||||
|
||||
initialize(mr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue