mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-26 22:00:25 +00:00
8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure
Reviewed-by: shade
This commit is contained in:
parent
d603550dec
commit
71dc27ed29
@ -97,18 +97,6 @@ void ShenandoahStringDedup::oops_do_slow(OopClosure* cl) {
|
||||
StringDedupTable::unlink_or_oops_do(&sd_cl, 0);
|
||||
}
|
||||
|
||||
class ShenandoahIsMarkedNextClosure : public BoolObjectClosure {
|
||||
private:
|
||||
ShenandoahMarkingContext* const _mark_context;
|
||||
|
||||
public:
|
||||
ShenandoahIsMarkedNextClosure() : _mark_context(ShenandoahHeap::heap()->marking_context()) { }
|
||||
|
||||
bool do_object_b(oop obj) {
|
||||
return _mark_context->is_marked(obj);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Task for parallel unlink_or_oops_do() operation on the deduplication queue
|
||||
// and table.
|
||||
|
Loading…
Reference in New Issue
Block a user