< 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*   _threshold;
    HeapWord*   _compaction_top;

*** 49,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();
  
--- 50,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 >