< prev index next >

src/hotspot/share/gc/g1/g1FullGCPrepareTask.hpp

Print this page
@@ -87,10 +87,11 @@
                                 G1FullGCCompactionPoint* cp);
  
      bool do_heap_region(HeapRegion* hr);
    };
  
+   template <bool ALT_FWD>
    class G1PrepareCompactLiveClosure : public StackObj {
      G1FullGCCompactionPoint* _cp;
  
    public:
      G1PrepareCompactLiveClosure(G1FullGCCompactionPoint* cp);

@@ -98,10 +99,11 @@
    };
  };
  
  // Closure to re-prepare objects in the serial compaction point queue regions for
  // serial compaction.
+ template <bool ALT_FWD>
  class G1SerialRePrepareClosure : public StackObj {
    G1FullGCCompactionPoint* _cp;
    HeapWord* _dense_prefix_top;
  
  public:
< prev index next >