src/hotspot/share/gc/g1/g1ConcurrentMark.hpp
changeset 49964 99e698e94cc7
parent 49811 bfba4712d4ff
child 49982 9042ffe5b7fe
--- 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);
 };