comparison src/share/vm/memory/universe.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 9d15b81d5d1b
children 1e1c8d358b52
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
1134 } 1134 }
1135 Universe::_pd_implies_cache->init( 1135 Universe::_pd_implies_cache->init(
1136 SystemDictionary::ProtectionDomain_klass(), m);; 1136 SystemDictionary::ProtectionDomain_klass(), m);;
1137 } 1137 }
1138 1138
1139 // The folowing is initializing converter functions for serialization in 1139 // The following is initializing converter functions for serialization in
1140 // JVM.cpp. If we clean up the StrictMath code above we may want to find 1140 // JVM.cpp. If we clean up the StrictMath code above we may want to find
1141 // a better solution for this as well. 1141 // a better solution for this as well.
1142 initialize_converter_functions(); 1142 initialize_converter_functions();
1143 1143
1144 // This needs to be done before the first scavenge/gc, since 1144 // This needs to be done before the first scavenge/gc, since
1176 assert_lock_strong(Compile_lock); 1176 assert_lock_strong(Compile_lock);
1177 1177
1178 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return; 1178 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return;
1179 1179
1180 // CodeCache can only be updated by a thread_in_VM and they will all be 1180 // CodeCache can only be updated by a thread_in_VM and they will all be
1181 // stopped dring the safepoint so CodeCache will be safe to update without 1181 // stopped during the safepoint so CodeCache will be safe to update without
1182 // holding the CodeCache_lock. 1182 // holding the CodeCache_lock.
1183 1183
1184 KlassDepChange changes(dependee); 1184 KlassDepChange changes(dependee);
1185 1185
1186 // Compute the dependent nmethods 1186 // Compute the dependent nmethods
1197 assert_lock_strong(Compile_lock); 1197 assert_lock_strong(Compile_lock);
1198 1198
1199 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return; 1199 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return;
1200 1200
1201 // CodeCache can only be updated by a thread_in_VM and they will all be 1201 // CodeCache can only be updated by a thread_in_VM and they will all be
1202 // stopped dring the safepoint so CodeCache will be safe to update without 1202 // stopped during the safepoint so CodeCache will be safe to update without
1203 // holding the CodeCache_lock. 1203 // holding the CodeCache_lock.
1204 1204
1205 CallSiteDepChange changes(call_site(), method_handle()); 1205 CallSiteDepChange changes(call_site(), method_handle());
1206 1206
1207 // Compute the dependent nmethods that have a reference to a 1207 // Compute the dependent nmethods that have a reference to a
1228 // --- Compile_lock is not held. However we are at a safepoint. 1228 // --- Compile_lock is not held. However we are at a safepoint.
1229 assert_locked_or_safepoint(Compile_lock); 1229 assert_locked_or_safepoint(Compile_lock);
1230 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return; 1230 if (CodeCache::number_of_nmethods_with_dependencies() == 0) return;
1231 1231
1232 // CodeCache can only be updated by a thread_in_VM and they will all be 1232 // CodeCache can only be updated by a thread_in_VM and they will all be
1233 // stopped dring the safepoint so CodeCache will be safe to update without 1233 // stopped during the safepoint so CodeCache will be safe to update without
1234 // holding the CodeCache_lock. 1234 // holding the CodeCache_lock.
1235 1235
1236 // Compute the dependent nmethods 1236 // Compute the dependent nmethods
1237 if (CodeCache::mark_for_evol_deoptimization(ev_k_h) > 0) { 1237 if (CodeCache::mark_for_evol_deoptimization(ev_k_h) > 0) {
1238 // At least one nmethod has been marked for deoptimization 1238 // At least one nmethod has been marked for deoptimization