src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp

changeset 7074
833b0f92429a
parent 6085
8f07aa079343
child 7535
7ae4e26cb1e0
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp	Wed Aug 27 09:36:55 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp	Wed Aug 27 08:19:12 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -53,7 +53,8 @@
    1.11  }
    1.12  
    1.13  void ConcurrentMarkSweepPolicy::initialize_generations() {
    1.14 -  _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC, 0, AllocFailStrategy::RETURN_NULL);
    1.15 +  _generations = NEW_C_HEAP_ARRAY3(GenerationSpecPtr, number_of_generations(), mtGC,
    1.16 +    CURRENT_PC, AllocFailStrategy::RETURN_NULL);
    1.17    if (_generations == NULL)
    1.18      vm_exit_during_initialization("Unable to allocate gen spec");
    1.19  

mercurial