diff 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
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp	Thu Oct 09 12:06:22 2008 -0400
+++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.hpp	Mon Oct 13 21:41:42 2008 -0700
@@ -49,7 +49,7 @@
 
  public:
   // Initializes "this" to the empty sequence of regions.
-  HeapRegionSeq();
+  HeapRegionSeq(const size_t max_size);
 
   // Adds "hr" to "this" sequence.  Requires "hr" not to overlap with
   // any region already in "this".  (Will perform better if regions are