diff options
author | iveresov <none@none> | 2008-10-13 21:41:42 -0700 |
---|---|---|
committer | iveresov <none@none> | 2008-10-13 21:41:42 -0700 |
commit | f58c8e80a00ca62bffb557f4c6586e204bcc016c (patch) | |
tree | 474a94890bdbdbd24e89e2e5a8521c9679266e2e /src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | |
parent | 3037a318d3ab7a17b611dc7fd3bc75d769a4fa2f (diff) | |
download | jdk8u_hotspot-f58c8e80a00ca62bffb557f4c6586e204bcc016c.tar.gz |
6758633: G1: SEGV with GCOld on Linux
Summary: Avoid growth of a GrowableArray backend of HeapRegionSeq.
Reviewed-by: tonyp, jcoomes
Diffstat (limited to 'src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp')
-rw-r--r-- | src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp index 0c605e2c2..370745f36 100644 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @@ -1398,7 +1398,7 @@ jint G1CollectedHeap::initialize() { _g1_storage.initialize(g1_rs, 0); _g1_committed = MemRegion((HeapWord*)_g1_storage.low(), (size_t) 0); _g1_max_committed = _g1_committed; - _hrs = new HeapRegionSeq(); + _hrs = new HeapRegionSeq(_expansion_regions); guarantee(_hrs != NULL, "Couldn't allocate HeapRegionSeq"); guarantee(_cur_alloc_region == NULL, "from constructor"); |