Lines Matching refs:it

171   for (auto& it : method_code_map_) {
172 if (it.second == method) {
270 for (auto it = method_code_map_.begin(); it != method_code_map_.end();) {
271 if (alloc.ContainsUnsafe(it->second)) {
272 FreeCode(it->first, it->second);
273 it = method_code_map_.erase(it);
275 ++it;
279 for (auto it = osr_code_map_.begin(); it != osr_code_map_.end();) {
280 if (alloc.ContainsUnsafe(it->first)) {
282 it = osr_code_map_.erase(it);
284 ++it;
287 for (auto it = profiling_infos_.begin(); it != profiling_infos_.end();) {
288 ProfilingInfo* info = *it;
292 it = profiling_infos_.erase(it);
294 ++it;
363 // We need to update the live bitmap if there is a GC to ensure it sees this new
477 // The stack walking code queries the side instrumentation stack if it
483 // its stack frame, it is not the method owning return_pc_. We just pass null to
522 // Double the capacity if we're below 1MB, or increase it by 1MB if
640 // interpreter will update its entry point to the compiled code and call it.
664 for (auto it = method_code_map_.begin(); it != method_code_map_.end();) {
665 const void* code_ptr = it->first;
666 ArtMethod* method = it->second;
669 ++it;
672 it = method_code_map_.erase(it);
693 // give it a chance to be hot again.
708 for (const auto& it : method_code_map_) {
709 ArtMethod* method = it.second;
710 const void* code_ptr = it.first;
746 // We clear the inline caches as classes in it might be stalled.
767 for (const auto& it : method_code_map_) {
768 ArtMethod* method = it.second;
770 const void* code_ptr = it.first;
797 auto it = method_code_map_.lower_bound(reinterpret_cast<const void*>(pc));
798 --it;
800 const void* code_ptr = it->first;
806 DCHECK_EQ(it->second, method)
807 << PrettyMethod(method) << " " << PrettyMethod(it->second) << " " << std::hex << pc;
814 auto it = osr_code_map_.find(method);
815 if (it == osr_code_map_.end()) {
818 return OatQuickMethodHeader::FromCodePointer(it->second);
857 // Check whether some other thread has concurrently created it.
982 // it to the interpreter entry point and clear the counter to get the method
989 auto it = osr_code_map_.find(method);
990 if (it != osr_code_map_.end() && OatQuickMethodHeader::FromCodePointer(it->second) == header) {
991 // Remove the OSR method, to avoid using it again.
992 osr_code_map_.erase(it);