src/share/vm/memory/tenuredGeneration.hpp

changeset 4900
8617e38bb4cb
parent 4542
db9981fd3124
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/memory/tenuredGeneration.hpp	Fri Apr 05 10:20:04 2013 -0700
     1.2 +++ b/src/share/vm/memory/tenuredGeneration.hpp	Mon Feb 11 10:31:56 2013 -0800
     1.3 @@ -38,13 +38,6 @@
     1.4  class TenuredGeneration: public OneContigSpaceCardGeneration {
     1.5    friend class VMStructs;
     1.6   protected:
     1.7 -  // current shrinking effect: this damps shrinking when the heap gets empty.
     1.8 -  size_t _shrink_factor;
     1.9 -  // Some statistics from before gc started.
    1.10 -  // These are gathered in the gc_prologue (and should_collect)
    1.11 -  // to control growing/shrinking policy in spite of promotions.
    1.12 -  size_t _capacity_at_prologue;
    1.13 -  size_t _used_at_prologue;
    1.14  
    1.15  #if INCLUDE_ALL_GCS
    1.16    // To support parallel promotion: an array of parallel allocation
    1.17 @@ -80,9 +73,6 @@
    1.18      return !CollectGen0First;
    1.19    }
    1.20  
    1.21 -  // Mark sweep support
    1.22 -  void compute_new_size();
    1.23 -
    1.24    virtual void gc_prologue(bool full);
    1.25    virtual void gc_epilogue(bool full);
    1.26    bool should_collect(bool   full,
    1.27 @@ -93,6 +83,7 @@
    1.28                         bool clear_all_soft_refs,
    1.29                         size_t size,
    1.30                         bool is_tlab);
    1.31 +  virtual void compute_new_size();
    1.32  
    1.33  #if INCLUDE_ALL_GCS
    1.34    // Overrides.

mercurial