src/share/vm/gc_implementation/g1/heapRegionSeq.cpp

changeset 3901
24b9c7f4cae6
parent 3900
d2a62e0f25eb
child 5074
b0d20fa374b4
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Fri Jun 29 17:12:15 2012 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Mon Jul 02 13:11:28 2012 -0400
     1.3 @@ -86,7 +86,7 @@
     1.4    _allocated_length = 0;
     1.5    _max_length = max_length;
     1.6  
     1.7 -  _regions = NEW_C_HEAP_ARRAY(HeapRegion*, max_length);
     1.8 +  _regions = NEW_C_HEAP_ARRAY(HeapRegion*, max_length, mtGC);
     1.9    memset(_regions, 0, (size_t) max_length * sizeof(HeapRegion*));
    1.10    _regions_biased = _regions - ((uintx) bottom >> _region_shift);
    1.11  

mercurial