Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure
Browse files Browse the repository at this point in the history
Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Jun 2, 2020
1 parent 512cc3e commit 334df28
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/hotspot/share/gc/shenandoah/shenandoahStringDedup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 334df28

Please sign in to comment.