src/share/vm/gc_implementation/g1/concurrentMark.hpp

Print this page
rev 7653 : 8068883: Remove disabling of warning "C4355: 'this' : used in base member initializer list"

@@ -44,10 +44,11 @@
 // are alive. An instance is also embedded into the
 // reference processor as the _is_alive_non_header field
 class G1CMIsAliveClosure: public BoolObjectClosure {
   G1CollectedHeap* _g1;
  public:
+  G1CMIsAliveClosure() { }
   G1CMIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) { }
 
   bool do_object_b(oop obj);
 };
 

@@ -180,10 +181,11 @@
   bool  _should_expand;
   DEBUG_ONLY(bool _drain_in_progress;)
   DEBUG_ONLY(bool _drain_in_progress_yields;)
 
  public:
+  CMMarkStack() { }
   CMMarkStack(ConcurrentMark* cm);
   ~CMMarkStack();
 
 #ifndef PRODUCT
   jint max_depth() const {