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

changeset 3900
d2a62e0f25eb
parent 3713
720b6a76dd9d
child 5074
b0d20fa374b4
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionSeq.cpp	Thu Jun 28 17:03:16 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