comparison src/share/vm/gc_interface/collectedHeap.hpp @ 17947:1772223a25a2

8037112: gc/g1/TestHumongousAllocInitialMark.java caused SIGSEGV Reviewed-by: brutisso, mgerdin
author pliden
date Fri, 11 Apr 2014 11:00:12 +0200
parents cf9f24de0b93
children 52b4284cb496 ee019285a52c
comparison
equal deleted inserted replaced
17946:997fd9660dd5 17947:1772223a25a2
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;