src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp

changeset 4037
da91efe96a93
parent 2314
f95d63e2154a
child 4129
22b8d3d181d9
     1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2002, 2012, 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 @@ -198,7 +198,6 @@
    1.11                                             size_t young_live,
    1.12                                             size_t eden_live,
    1.13                                             size_t old_live,
    1.14 -                                           size_t perm_live,
    1.15                                             size_t cur_eden,
    1.16                                             size_t max_old_gen_size,
    1.17                                             size_t max_eden_size,
    1.18 @@ -208,7 +207,7 @@
    1.19  
    1.20    // Update statistics
    1.21    // Time statistics are updated as we go, update footprint stats here
    1.22 -  _avg_base_footprint->sample(BaseFootPrintEstimate + perm_live);
    1.23 +  _avg_base_footprint->sample(BaseFootPrintEstimate);
    1.24    avg_young_live()->sample(young_live);
    1.25    avg_eden_live()->sample(eden_live);
    1.26    if (is_full_gc) {

mercurial