< prev index next >

src/share/vm/gc/g1/heapRegion.hpp

Print this page
rev 8615 : CMSParallelFullGC: Parallel version of CMS Full GC.

@@ -348,10 +348,13 @@
   // and the amount of unallocated words if called on top()
   size_t block_size(const HeapWord* p) const;
 
   // Override for scan_and_forward support.
   void prepare_for_compaction(CompactPoint* cp);
+  // These methods are only called with CMS GC.
+  void pms_prepare_for_compaction_work(CompactPoint* cp) { ShouldNotReachHere(); }
+  void pms_compact_work() { ShouldNotReachHere();}
 
   inline HeapWord* par_allocate_no_bot_updates(size_t word_size);
   inline HeapWord* allocate_no_bot_updates(size_t word_size);
 
   // If this region is a member of a HeapRegionManager, the index in that
< prev index next >