comparison src/share/vm/gc_implementation/g1/heapRegionSeq.hpp @ 393:078b8a0d8d7c

6758633: G1: SEGV with GCOld on Linux Summary: Avoid growth of a GrowableArray backend of HeapRegionSeq. Reviewed-by: tonyp, jcoomes
author iveresov
date Mon, 13 Oct 2008 21:41:42 -0700
parents 37f87013dfd8
children ad8c8ca4ab0f
comparison
equal deleted inserted replaced
392:05366dad12cf 393:078b8a0d8d7c
47 // are no regions in the sequence. 47 // are no regions in the sequence.
48 char* _seq_bottom; 48 char* _seq_bottom;
49 49
50 public: 50 public:
51 // Initializes "this" to the empty sequence of regions. 51 // Initializes "this" to the empty sequence of regions.
52 HeapRegionSeq(); 52 HeapRegionSeq(const size_t max_size);
53 53
54 // Adds "hr" to "this" sequence. Requires "hr" not to overlap with 54 // Adds "hr" to "this" sequence. Requires "hr" not to overlap with
55 // any region already in "this". (Will perform better if regions are 55 // any region already in "this". (Will perform better if regions are
56 // inserted in ascending address order.) 56 // inserted in ascending address order.)
57 void insert(HeapRegion* hr); 57 void insert(HeapRegion* hr);