8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure

Reviewed-by: shade
This commit is contained in:
Zhengyu Gu 2020-06-02 15:01:45 -04:00
parent d603550dec
commit 71dc27ed29

View File

@ -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.