< prev index next >

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

Print this page
@@ -30,10 +30,11 @@
  #include "memory/allocation.hpp"
  
  class G1CollectedHeap;
  class G1CMBitMap;
  class G1FullCollector;
+ class SlidingForwarding;
  class G1FullGCCompactionPoint;
  class HeapRegion;
  
  // Determines the regions in the heap that should be part of the compaction and
  // distributes them among the compaction queues in round-robin fashion.

@@ -90,27 +91,28 @@
      bool do_heap_region(HeapRegion* hr);
    };
  
    class G1PrepareCompactLiveClosure : public StackObj {
      G1FullGCCompactionPoint* _cp;
+     SlidingForwarding* const _forwarding;
  
    public:
      G1PrepareCompactLiveClosure(G1FullGCCompactionPoint* cp);
      size_t apply(oop object);
    };
  };
  
  // Closure to re-prepare objects in the serial compaction point queue regions for
  // serial compaction.
- class G1SerialRePrepareClosure : public StackObj {
-   G1FullGCCompactionPoint* _cp;
-   HeapWord* _dense_prefix_top;
- 
- public:
-   G1SerialRePrepareClosure(G1FullGCCompactionPoint* hrcp, HeapWord* dense_prefix_top) :
-     _cp(hrcp),
-     _dense_prefix_top(dense_prefix_top) { }
- 
-   inline size_t apply(oop obj);
- };
+ //class G1SerialRePrepareClosure : public StackObj {
+ //  G1FullGCCompactionPoint* _cp;
+ //  HeapWord* _dense_prefix_top;
+ //
+ //public:
+ //  G1SerialRePrepareClosure(G1FullGCCompactionPoint* hrcp, HeapWord* dense_prefix_top) :
+ //    _cp(hrcp),
+ //    _dense_prefix_top(dense_prefix_top) { }
+ //
+ //  inline size_t apply(oop obj);
+ //};
  
  #endif // SHARE_GC_G1_G1FULLGCPREPARETASK_HPP
< prev index next >