src/share/vm/gc_implementation/shared/ageTable.hpp

changeset 4129
22b8d3d181d9
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
child 7645
f2e3f0e1f97d
     1.1 --- a/src/share/vm/gc_implementation/shared/ageTable.hpp	Wed Oct 03 08:08:52 2012 -0700
     1.2 +++ b/src/share/vm/gc_implementation/shared/ageTable.hpp	Wed Oct 03 20:31:41 2012 +0200
     1.3 @@ -55,7 +55,7 @@
     1.4  
     1.5    // add entry
     1.6    void add(oop p, size_t oop_size) {
     1.7 -    int age = p->age();
     1.8 +    uint age = p->age();
     1.9      assert(age > 0 && age < table_size, "invalid age of object");
    1.10      sizes[age] += oop_size;
    1.11    }
    1.12 @@ -66,7 +66,7 @@
    1.13    void merge_par(ageTable* subTable);
    1.14  
    1.15    // calculate new tenuring threshold based on age information
    1.16 -  int compute_tenuring_threshold(size_t survivor_capacity);
    1.17 +  uint compute_tenuring_threshold(size_t survivor_capacity);
    1.18  
    1.19   private:
    1.20    PerfVariable* _perf_sizes[table_size];

mercurial