Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1MonitoringSupport.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 |
---|---|
110 // capacity updated so sampling is not currently used. It might | 110 // capacity updated so sampling is not currently used. It might |
111 // be sufficient to update all counters in take_sample() even though | 111 // be sufficient to update all counters in take_sample() even though |
112 // take_sample() only returns "used". When sampling was used, there | 112 // take_sample() only returns "used". When sampling was used, there |
113 // were some anomolous values emitted which may have been the consequence | 113 // were some anomolous values emitted which may have been the consequence |
114 // of not updating all values simultaneously (i.e., see the calculation done | 114 // of not updating all values simultaneously (i.e., see the calculation done |
115 // in eden_space_used(), is it possbile that the values used to | 115 // in eden_space_used(), is it possible that the values used to |
116 // calculate either eden_used or survivor_used are being updated by | 116 // calculate either eden_used or survivor_used are being updated by |
117 // the collector when the sample is being done?). | 117 // the collector when the sample is being done?). |
118 const bool sampled = false; | 118 const bool sampled = false; |
119 | 119 |
120 // "Generation" and "Space" counters. | 120 // "Generation" and "Space" counters. |
133 pad_capacity(old_space_committed()) /* init_capacity */, | 133 pad_capacity(old_space_committed()) /* init_capacity */, |
134 _old_collection_counters); | 134 _old_collection_counters); |
135 | 135 |
136 // Young collection set | 136 // Young collection set |
137 // name "generation.0". This is logically the young generation. | 137 // name "generation.0". This is logically the young generation. |
138 // The "0, 3" are paremeters for the n-th genertaion (=0) with 3 spaces. | 138 // The "0, 3" are parameters for the n-th generation (=0) with 3 spaces. |
139 // See _old_collection_counters for additional counters | 139 // See _old_collection_counters for additional counters |
140 _young_collection_counters = new G1YoungGenerationCounters(this, "young"); | 140 _young_collection_counters = new G1YoungGenerationCounters(this, "young"); |
141 | 141 |
142 // name "generation.0.space.0" | 142 // name "generation.0.space.0" |
143 // See _old_space_counters for additional counters | 143 // See _old_space_counters for additional counters |
252 recalculate_sizes(); | 252 recalculate_sizes(); |
253 if (UsePerfData) { | 253 if (UsePerfData) { |
254 eden_counters()->update_capacity(pad_capacity(eden_space_committed())); | 254 eden_counters()->update_capacity(pad_capacity(eden_space_committed())); |
255 eden_counters()->update_used(eden_space_used()); | 255 eden_counters()->update_used(eden_space_used()); |
256 // only the to survivor space (s1) is active, so we don't need to | 256 // only the to survivor space (s1) is active, so we don't need to |
257 // update the counteres for the from survivor space (s0) | 257 // update the counters for the from survivor space (s0) |
258 to_counters()->update_capacity(pad_capacity(survivor_space_committed())); | 258 to_counters()->update_capacity(pad_capacity(survivor_space_committed())); |
259 to_counters()->update_used(survivor_space_used()); | 259 to_counters()->update_used(survivor_space_used()); |
260 old_space_counters()->update_capacity(pad_capacity(old_space_committed())); | 260 old_space_counters()->update_capacity(pad_capacity(old_space_committed())); |
261 old_space_counters()->update_used(old_space_used()); | 261 old_space_counters()->update_used(old_space_used()); |
262 old_collection_counters()->update_all(); | 262 old_collection_counters()->update_all(); |