hotspot/src/share/vm/gc_implementation/g1/g1AllocRegion.hpp
changeset 26159 6033a6fc63cc
parent 24424 2658d7834c6e
child 26837 72a43d3841e7
equal deleted inserted replaced
26158:9eb4348732f3 26159:6033a6fc63cc
   171   // re-instate it at the beginning of the next GC.)
   171   // re-instate it at the beginning of the next GC.)
   172   void set(HeapRegion* alloc_region);
   172   void set(HeapRegion* alloc_region);
   173 
   173 
   174   // Should be called when we want to release the active region which
   174   // Should be called when we want to release the active region which
   175   // is returned after it's been retired.
   175   // is returned after it's been retired.
   176   HeapRegion* release();
   176   virtual HeapRegion* release();
   177 
   177 
   178 #if G1_ALLOC_REGION_TRACING
   178 #if G1_ALLOC_REGION_TRACING
   179   void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL);
   179   void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL);
   180 #else // G1_ALLOC_REGION_TRACING
   180 #else // G1_ALLOC_REGION_TRACING
   181   void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { }
   181   void trace(const char* str, size_t word_size = 0, HeapWord* result = NULL) { }