8231117: Remove G1EvacuationRootClosures::raw_strong_oops()
Reviewed-by: kbarrett, sjohanss
This commit is contained in:
parent
b18626ae7a
commit
9ccc00d1dd
src/hotspot/share/gc/g1
@ -830,7 +830,7 @@ class G1ScanCollectionSetRegionClosure : public HeapRegionClosure {
|
||||
|
||||
G1ScanCardClosure scan_cl(G1CollectedHeap::heap(), _pss);
|
||||
G1ScanRSForOptionalClosure cl(G1CollectedHeap::heap(), &scan_cl);
|
||||
_opt_refs_scanned += opt_rem_set_list->oops_do(&cl, _pss->closures()->raw_strong_oops());
|
||||
_opt_refs_scanned += opt_rem_set_list->oops_do(&cl, _pss->closures()->strong_oops());
|
||||
_opt_refs_memory_used += opt_rem_set_list->used_memory();
|
||||
|
||||
event.commit(GCId::current(), _worker_id, G1GCPhaseTimes::phase_name(_scan_phase));
|
||||
|
@ -47,8 +47,6 @@ public:
|
||||
CodeBlobClosure* strong_codeblobs() { return &_closures._codeblobs; }
|
||||
CodeBlobClosure* weak_codeblobs() { return &_closures._codeblobs; }
|
||||
|
||||
OopClosure* raw_strong_oops() { return &_closures._oops; }
|
||||
|
||||
bool trace_metadata() { return false; }
|
||||
};
|
||||
|
||||
@ -90,8 +88,6 @@ public:
|
||||
CodeBlobClosure* strong_codeblobs() { return &_strong._codeblobs; }
|
||||
CodeBlobClosure* weak_codeblobs() { return &_weak._codeblobs; }
|
||||
|
||||
OopClosure* raw_strong_oops() { return &_strong._oops; }
|
||||
|
||||
// If we are not marking all weak roots then we are tracing
|
||||
// which metadata is alive.
|
||||
bool trace_metadata() { return MarkWeak == G1MarkPromotedFromRoot; }
|
||||
|
@ -53,9 +53,6 @@ public:
|
||||
// CLDs are guaranteed to have been processed.
|
||||
virtual CLDClosure* second_pass_weak_clds() = 0;
|
||||
|
||||
// Get a raw oop closure for processing oops, bypassing the flushing above.
|
||||
virtual OopClosure* raw_strong_oops() = 0;
|
||||
|
||||
// Applied to code blobs treated as weak roots.
|
||||
virtual CodeBlobClosure* weak_codeblobs() = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user