src/share/vm/memory/collectorPolicy.cpp

changeset 7074
833b0f92429a
parent 6680
78bbf4d43a14
child 7301
d63ce76a0f0e
     1.1 --- a/src/share/vm/memory/collectorPolicy.cpp	Wed Aug 27 09:36:55 2014 +0200
     1.2 +++ b/src/share/vm/memory/collectorPolicy.cpp	Wed Aug 27 08:19:12 2014 -0400
     1.3 @@ -969,7 +969,8 @@
     1.4  }
     1.5  
     1.6  void MarkSweepPolicy::initialize_generations() {
     1.7 -  _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, 0, AllocFailStrategy::RETURN_NULL);
     1.8 +  _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, CURRENT_PC,
     1.9 +    AllocFailStrategy::RETURN_NULL);
    1.10    if (_generations == NULL) {
    1.11      vm_exit_during_initialization("Unable to allocate gen spec");
    1.12    }

mercurial