hotspot/src/share/vm/gc/shared/ageTable.cpp
changeset 33105 294e48b4f704
parent 32736 755024a84282
child 35061 be6025ebffea
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
    76   size_t desired_survivor_size = (size_t)((((double) survivor_capacity)*TargetSurvivorRatio)/100);
    76   size_t desired_survivor_size = (size_t)((((double) survivor_capacity)*TargetSurvivorRatio)/100);
    77   uint result;
    77   uint result;
    78 
    78 
    79   if (AlwaysTenure || NeverTenure) {
    79   if (AlwaysTenure || NeverTenure) {
    80     assert(MaxTenuringThreshold == 0 || MaxTenuringThreshold == markOopDesc::max_age + 1,
    80     assert(MaxTenuringThreshold == 0 || MaxTenuringThreshold == markOopDesc::max_age + 1,
    81         err_msg("MaxTenuringThreshold should be 0 or markOopDesc::max_age + 1, but is " UINTX_FORMAT, MaxTenuringThreshold));
    81            "MaxTenuringThreshold should be 0 or markOopDesc::max_age + 1, but is " UINTX_FORMAT, MaxTenuringThreshold);
    82     result = MaxTenuringThreshold;
    82     result = MaxTenuringThreshold;
    83   } else {
    83   } else {
    84     size_t total = 0;
    84     size_t total = 0;
    85     uint age = 1;
    85     uint age = 1;
    86     assert(sizes[0] == 0, "no objects with age zero should be recorded");
    86     assert(sizes[0] == 0, "no objects with age zero should be recorded");