Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure
Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Jun 2, 2020
1 parent 512cc3e commit 334df28eca478daf7082e3b1ab442cac059678ca
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/hotspot/share/gc/shenandoah/shenandoahStringDedup.cpp
@@ -98,18 +98,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.

0 comments on commit 334df28

Please sign in to comment.