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

Commit 334df28

Browse files
committedJun 2, 2020
8246342: Shenandoah: remove unused ShenandoahIsMarkedNextClosure
Reviewed-by: shade
1 parent 512cc3e commit 334df28

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed
 

‎src/hotspot/share/gc/shenandoah/shenandoahStringDedup.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,6 @@ void ShenandoahStringDedup::oops_do_slow(OopClosure* cl) {
9898
StringDedupTable::unlink_or_oops_do(&sd_cl, 0);
9999
}
100100

101-
class ShenandoahIsMarkedNextClosure : public BoolObjectClosure {
102-
private:
103-
ShenandoahMarkingContext* const _mark_context;
104-
105-
public:
106-
ShenandoahIsMarkedNextClosure() : _mark_context(ShenandoahHeap::heap()->marking_context()) { }
107-
108-
bool do_object_b(oop obj) {
109-
return _mark_context->is_marked(obj);
110-
}
111-
};
112-
113101
//
114102
// Task for parallel unlink_or_oops_do() operation on the deduplication queue
115103
// and table.

0 commit comments

Comments
 (0)
This repository has been archived.