hotspot/src/share/vm/gc_interface/collectedHeap.hpp
changeset 24093 095cc0a63ed9
parent 22552 a29022212180
child 24096 6f7e28b293fb
equal deleted inserted replaced
24092:e274d864545a 24093:095cc0a63ed9
   206   // In many heaps, there will be a need to perform some initialization activities
   206   // In many heaps, there will be a need to perform some initialization activities
   207   // after the Universe is fully formed, but before general heap allocation is allowed.
   207   // after the Universe is fully formed, but before general heap allocation is allowed.
   208   // This is the correct place to place such initialization methods.
   208   // This is the correct place to place such initialization methods.
   209   virtual void post_initialize() = 0;
   209   virtual void post_initialize() = 0;
   210 
   210 
       
   211   // Stop any onging concurrent work and prepare for exit.
       
   212   virtual void stop() {}
       
   213 
   211   MemRegion reserved_region() const { return _reserved; }
   214   MemRegion reserved_region() const { return _reserved; }
   212   address base() const { return (address)reserved_region().start(); }
   215   address base() const { return (address)reserved_region().start(); }
   213 
   216 
   214   virtual size_t capacity() const = 0;
   217   virtual size_t capacity() const = 0;
   215   virtual size_t used() const = 0;
   218   virtual size_t used() const = 0;