< prev index next >

src/hotspot/share/gc/cms/cmsHeap.hpp

Print this page

        

@@ -136,9 +136,9 @@
 
   void collect_mostly_concurrent(GCCause::Cause cause);
 
   // CMS forwards some non-heap value into the mark oop to reserve oops during
   // promotion, so we can't assert about obj alignment or that the forwardee is in heap
-  virtual void check_oop_location(void* addr) const {}
+  virtual bool is_oop_location(void* addr) const { return true; }
 };
 
 #endif // SHARE_GC_CMS_CMSHEAP_HPP
< prev index next >