< prev index next >

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

Print this page
*** 28,10 ***
--- 28,11 ---
  #include "memory/allocation.hpp"
  #include "oops/oopsHierarchy.hpp"
  #include "utilities/growableArray.hpp"
  
  class HeapRegion;
+ class SlidingForwarding;
  
  class G1FullGCCompactionPoint : public CHeapObj<mtGC> {
    HeapRegion* _current_region;
    HeapWord*   _compaction_top;
    GrowableArray<HeapRegion*>* _compaction_regions;

*** 48,11 ***
  
    bool has_regions();
    bool is_initialized();
    void initialize(HeapRegion* hr, bool init_threshold);
    void update();
!   void forward(oop object, size_t size);
    void add(HeapRegion* hr);
  
    HeapRegion* remove_last();
    HeapRegion* current_region();
  
--- 49,11 ---
  
    bool has_regions();
    bool is_initialized();
    void initialize(HeapRegion* hr, bool init_threshold);
    void update();
!   void forward(SlidingForwarding* const forwarding, oop object, size_t size);
    void add(HeapRegion* hr);
  
    HeapRegion* remove_last();
    HeapRegion* current_region();
  
< prev index next >