< prev index next >

src/hotspot/share/gc/shared/space.hpp

Print this page
@@ -48,10 +48,11 @@
  class Generation;
  class CompactibleSpace;
  class BlockOffsetTable;
  class CardTableRS;
  class DirtyCardToOopClosure;
+ class SlidingForwarding;
  
  // A Space describes a heap area. Class Space is an abstract
  // base class.
  //
  // Space supports allocation, size computation and GC support is provided.

@@ -389,11 +390,11 @@
    // the previous generation if necessary, updating "cp"), reset compact_top
    // and then forward.  In either case, returns the new value of "compact_top".
    // Invokes the "alloc_block" function of the then-current compaction
    // space.
    virtual HeapWord* forward(oop q, size_t size, CompactPoint* cp,
-                     HeapWord* compact_top);
+                     HeapWord* compact_top, SlidingForwarding* const forwarding);
  
    // Return a size with adjustments as required of the space.
    virtual size_t adjust_object_size_v(size_t size) const { return size; }
  
    void set_first_dead(HeapWord* value) { _first_dead = value; }
< prev index next >