src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp

changeset 4129
22b8d3d181d9
parent 4037
da91efe96a93
child 4385
37f7535e5f18
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp	Wed Oct 03 08:08:52 2012 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp	Wed Oct 03 20:31:41 2012 +0200
     1.3 @@ -840,8 +840,8 @@
     1.4    //
     1.5  
     1.6    // Current tenuring threshold, set to 0 if the collector reaches the
     1.7 -  // maximum amount of suvivors regions.
     1.8 -  int _tenuring_threshold;
     1.9 +  // maximum amount of survivors regions.
    1.10 +  uint _tenuring_threshold;
    1.11  
    1.12    // The limit on the number of regions allocated for survivors.
    1.13    uint _max_survivor_regions;
    1.14 @@ -851,7 +851,7 @@
    1.15    size_t _survivor_bytes_before_gc;
    1.16    size_t _capacity_before_gc;
    1.17  
    1.18 -  // The amount of survor regions after a collection.
    1.19 +  // The amount of survivor regions after a collection.
    1.20    uint _recorded_survivor_regions;
    1.21    // List of survivor regions.
    1.22    HeapRegion* _recorded_survivor_head;
    1.23 @@ -862,7 +862,7 @@
    1.24  public:
    1.25  
    1.26    inline GCAllocPurpose
    1.27 -    evacuation_destination(HeapRegion* src_region, int age, size_t word_sz) {
    1.28 +    evacuation_destination(HeapRegion* src_region, uint age, size_t word_sz) {
    1.29        if (age < _tenuring_threshold && src_region->is_young()) {
    1.30          return GCAllocForSurvived;
    1.31        } else {

mercurial