< prev index next >

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

Print this page
@@ -138,10 +138,14 @@
    void flush_and_retire_stats(PLABStats* stats);
  
    // Fills in the unallocated portion of the buffer with a garbage object and updates
    // statistics. To be called during GC.
    void retire();
+ 
+   HeapWord* top() {
+     return _top;
+   }
  };
  
  // PLAB book-keeping.
  class PLABStats : public CHeapObj<mtGC> {
   protected:
< prev index next >