diff -r 52aab4aa2ed5 -r 26315213bab8 hotspot/src/share/vm/gc_interface/collectedHeap.hpp --- a/hotspot/src/share/vm/gc_interface/collectedHeap.hpp Fri Sep 19 09:23:55 2014 +0200 +++ b/hotspot/src/share/vm/gc_interface/collectedHeap.hpp Thu Sep 18 12:45:45 2014 +0200 @@ -85,6 +85,7 @@ friend class VMStructs; friend class IsGCActiveMark; // Block structured external access to _is_gc_active + private: #ifdef ASSERT static int _fire_out_of_memory_count; #endif @@ -97,8 +98,9 @@ // Used in support of ReduceInitialCardMarks; only consulted if COMPILER2 is being used bool _defer_initial_card_mark; + MemRegion _reserved; + protected: - MemRegion _reserved; BarrierSet* _barrier_set; bool _is_gc_active; uint _n_par_threads; @@ -211,6 +213,7 @@ // Stop any onging concurrent work and prepare for exit. virtual void stop() {} + void initialize_reserved_region(HeapWord *start, HeapWord *end); MemRegion reserved_region() const { return _reserved; } address base() const { return (address)reserved_region().start(); }