--- a/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp Thu Apr 26 12:54:53 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp Thu May 03 14:09:00 2018 +0200
@@ -109,7 +109,13 @@
G1CollectedHeap* _g1h;
public:
G1CMIsAliveClosure(G1CollectedHeap* g1h) : _g1h(g1h) { }
+ bool do_object_b(oop obj);
+};
+class G1CMSubjectToDiscoveryClosure : public BoolObjectClosure {
+ G1CollectedHeap* _g1h;
+public:
+ G1CMSubjectToDiscoveryClosure(G1CollectedHeap* g1h) : _g1h(g1h) { }
bool do_object_b(oop obj);
};