comparison src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents de6a9e811145
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
134 // committed. The minimum survivor size for -UseAdaptiveSizePolicy 134 // committed. The minimum survivor size for -UseAdaptiveSizePolicy
135 // is dependent on the committed portion (current capacity) of the 135 // is dependent on the committed portion (current capacity) of the
136 // generation - the less space committed, the smaller the survivor 136 // generation - the less space committed, the smaller the survivor
137 // space, possibly as small as an alignment. However, we are interested 137 // space, possibly as small as an alignment. However, we are interested
138 // in the case where the young generation is 100% committed, as this 138 // in the case where the young generation is 100% committed, as this
139 // is the point where eden reachs its maximum size. At this point, 139 // is the point where eden reaches its maximum size. At this point,
140 // the size of a survivor space is max_survivor_size. 140 // the size of a survivor space is max_survivor_size.
141 max_eden_size = size - 2 * max_survivor_size; 141 max_eden_size = size - 2 * max_survivor_size;
142 } 142 }
143 143
144 _eden_counters = new SpaceCounters("eden", 0, max_eden_size, _eden_space, 144 _eden_counters = new SpaceCounters("eden", 0, max_eden_size, _eden_space,
286 bool size_changed = false; 286 bool size_changed = false;
287 287
288 // There used to be this guarantee there. 288 // There used to be this guarantee there.
289 // guarantee ((eden_size + 2*survivor_size) <= _max_gen_size, "incorrect input arguments"); 289 // guarantee ((eden_size + 2*survivor_size) <= _max_gen_size, "incorrect input arguments");
290 // Code below forces this requirement. In addition the desired eden 290 // Code below forces this requirement. In addition the desired eden
291 // size and disired survivor sizes are desired goals and may 291 // size and desired survivor sizes are desired goals and may
292 // exceed the total generation size. 292 // exceed the total generation size.
293 293
294 assert(min_gen_size() <= orig_size && orig_size <= max_size(), "just checking"); 294 assert(min_gen_size() <= orig_size && orig_size <= max_size(), "just checking");
295 295
296 // Adjust new generation size 296 // Adjust new generation size