< prev index next >

src/share/vm/gc/g1/heapRegion.hpp

Print this page
rev 11552 : imported patch 8159978-collection-set-as-array
rev 11553 : imported patch 8159978-erikh-review

*** 259,274 **** HeapRegion* _humongous_start_region; // True iff an attempt to evacuate an object in the region failed. bool _evacuation_failed; - // A heap region may be a member one of a number of special subsets, each - // represented as linked lists through the field below. Currently, there - // is only one set: - // The collection set. - HeapRegion* _next_in_special_set; - // Fields used by the HeapRegionSetBase class and subclasses. HeapRegion* _next; HeapRegion* _prev; #ifdef ASSERT HeapRegionSetBase* _containing_set; --- 259,268 ----
*** 474,486 **** return _rem_set; } inline bool in_collection_set() const; - inline HeapRegion* next_in_collection_set() const; - inline void set_next_in_collection_set(HeapRegion* r); - void set_allocation_context(AllocationContext_t context) { _allocation_context = context; } AllocationContext_t allocation_context() const { --- 468,477 ----
*** 742,752 **** // HeapRegionClosure is used for iterating over regions. // Terminates the iteration when the "doHeapRegion" method returns "true". class HeapRegionClosure : public StackObj { friend class HeapRegionManager; ! friend class G1CollectedHeap; bool _complete; void incomplete() { _complete = false; } public: --- 733,743 ---- // HeapRegionClosure is used for iterating over regions. // Terminates the iteration when the "doHeapRegion" method returns "true". class HeapRegionClosure : public StackObj { friend class HeapRegionManager; ! friend class G1CollectionSet; bool _complete; void incomplete() { _complete = false; } public:
< prev index next >