Searched refs:it (Results 101 - 125 of 154) sorted by relevance

1234567

/art/runtime/gc/
H A Dheap.cc392 // Reserve the non moving mem map before the other two since it needs to be at a specific
514 // Remove the main backup space since it slows down the GC to have unused extra spaces.
560 // now. We don't create it earlier to make it clear that you can't use locks during heap
688 // If we are the zygote and don't yet have a zygote space, it means that the zygote fork will
734 // The allocation stack may have non movable objects in it. We need to flush it since the GC
798 // Don't use find space since it only finds spaces which actually contain objects instead of
839 // we attempt to disable it.
980 // collection where it'
1118 auto it = std::find(continuous_spaces_.begin(), continuous_spaces_.end(), continuous_space); local
1126 auto it = std::find(discontinuous_spaces_.begin(), discontinuous_spaces_.end(), local
1132 auto it = std::find(alloc_spaces_.begin(), alloc_spaces_.end(), space->AsAllocSpace()); local
2374 auto it = bins_.lower_bound(alloc_size); local
3264 auto it = mod_union_tables_.find(space); local
3272 auto it = remembered_sets_.find(space); local
3963 auto it = remembered_sets_.find(space); local
[all...]
/art/compiler/linker/
H A Drelative_patcher_test.h251 auto it = map.find(ref); variable
252 if (it == map.end()) {
255 return std::pair<bool, uint32_t>(true, it->second);
/art/compiler/optimizing/
H A Dgvn.cc50 // Copy constructor. Depending on the load factor, it will either make a deep
64 // Erases all values in this set and populates it with values from `other`.
73 // it, the load factor will not cross the upper threshold.
224 // This algorithm can be called while iterating over the bucket because it
261 // Bucket is not owned but maybe we won't need to change it at all.
278 // or we do not own it but no entries matched 'cond'.
391 // (a) it will not be referenced in the future, and
392 // (b) it can hold a copy of `reference_set` with a reasonable load factor.
414 for (HReversePostOrderIterator it(*graph_); !it
[all...]
H A Dload_store_elimination.cc31 // whether it's a singleton, returned, etc.
71 // disable load/store optimizations on it.
93 // the lifetime of the method. So it's guaranteed to not have any alias in
296 // Any reference that can alias with the allocation must appear after it in the block/in
669 // `instruction` is being removed. Try to see if the null check on it
678 // // a[0] can now be replaced with constant 2, and the null check on it can be removed.
731 // This load must be from a singleton since it's from the same field
792 // For array element, don't eliminate stores since it can be easily aliased
812 // If it's a singleton, IsValueKilledByLoopSideEffects() must be true.
821 // The singleton is created inside the loop. Value stored to it is
[all...]
H A Dintrinsics.cc570 for (HReversePostOrderIterator it(*graph_); !it.Done(); it.Advance()) {
571 HBasicBlock* block = it.Current();
H A Dstack_map_stream.cc70 // companion hash map of locations to indices). Use its index if it
71 // is already in the location catalog. If not, insert it (in the
73 auto it = location_catalog_entries_indices_.Find(location); local
74 if (it != location_catalog_entries_indices_.end()) {
76 dex_register_locations_.push_back(it->second);
H A Dinliner.cc85 // As long as the call is not intrinsified, it is worth trying to inline.
129 // Due to multiple levels of inlining within the same pass, it might be that
203 // consider it is. We make it safe by updating the dex cache, as other
212 // as there may be different class loaders. So only return the index if it's
227 // Fetch the profiling info ahead of using it. If it's null when fetching,
260 // We can query the dex cache directly. The verifier has populated it already.
287 // Method cannot be resolved if it is in another dex file we do not have access to.
320 // interpreter and it ma
[all...]
/art/runtime/
H A Djava_vm_ext.cc97 * If the call has not yet finished in another thread, wait for it.
225 auto it = libraries_.find(path); local
226 return (it == libraries_.end()) ? nullptr : it->second;
281 for (auto it = libraries_.begin(); it != libraries_.end(); ) {
282 SharedLibrary* const library = it->second;
283 // If class loader is null then it was unloaded, call JNI_OnUnload.
285 // If class_loader is a null jobject then it is the boot class loader. We should not unload
290 it
[all...]
H A Dclass_linker.cc312 // dex_lock_ is recursive as it may be used in stack dumping.
359 CHECK(!heap->HasBootImageSpace()) << "Runtime has image. We should use it.";
369 // java_lang_Class comes first, it's needed for AllocClass
402 // Allocate in non-movable so that it's possible to check if a JNI weak global ref has been
572 // Run Class through FindSystemClass. This initializes the dex_cache_ fields and register it
684 // Now we resolve void type so the dex cache contains it. We use java.lang.Object class
1018 // Allocate in non-movable so that it's possible to check if a JNI weak global ref has been
1307 // read from it again.
1405 auto it = new_class_set->Find(GcRoot<mirror::Class>(klass)); local
1406 DCHECK(it !
3106 LoadField(const ClassDataItemIterator& it, Handle<mirror::Class> klass, ArtField* dst) argument
3115 LoadMethod(Thread* self, const DexFile& dex_file, const ClassDataItemIterator& it, Handle<mirror::Class> klass, ArtMethod* dst) argument
6962 auto it = move_table.find(translated_method); variable
6981 auto it = move_table.find(m); variable
6992 auto it = move_table.find(out_imt[i]); variable
8088 auto it = ret.find(resolved_classes); local
[all...]
H A Ddex_file_verifier.h89 // field, if necessary (and return it), or use the given values.
91 bool CheckIntraClassDataItemFields(ClassDataItemIterator* it,
96 // method, if necessary (and return it), or use the given values.
98 bool CheckIntraClassDataItemMethods(ClassDataItemIterator* it,
H A Doat_file.cc458 // Create the OatDexFile and add it to the owning container.
533 // Ask the linker where it mmaped the file and notify our mmap wrapper of the regions.
544 // time you load it. The runtime relies on the target behavior to ensure
595 // Use dlopen only when flagged to do so, and when it's OK to load things executable.
616 // dlopen always returns the same library if it is already opened on the host. For this reason
962 // Try dlopen first, as it is required for native debuggability. This will fail fast if dlopen is
1077 // changes. If it does (i.e. some symlink used by the filename changes) we may return
1300 // We aren't allowed to use the compiled code. We just force it down the interpreted / jit
1348 // Assumption: this is not performance-critical. So it's OK to do this with a std::string and
1358 for (auto it
[all...]
H A Doat_file_manager.cc39 // If true, then we attempt to load the application image if it exists.
66 auto it = oat_files_.find(compare); local
67 CHECK(it != oat_files_.end());
68 oat_files_.erase(it);
259 // We need to get the DexPathList and loop through it.
410 // Check is successful if it made it through the queue and all the shared libraries.
427 // against the following top element. If the descriptor is the same, it is now checked whether
455 // read it otherwise, as we'll compare against all open oat files anyways.
519 // Same descriptor. Check whether it'
[all...]
H A Dmonitor.cc44 * Every Object has a monitor associated with it, but not every Object is actually locked. Even
54 * a lock has been inflated it remains in the "fat" state indefinitely.
65 * Only one thread can own the monitor at any time. There may be several threads waiting on it
66 * (the wait call unlocks it). One or more waiting threads may be getting interrupted or notified
265 // Object.java". Assume that we'll wait a nontrivial amount, so it's OK to do a longer
277 // times when it is unsafe to make that call (see stack dumping for an explanation). More
557 // We don't own this, so we're not allowed to unlock it.
593 * release our hold. We need to let it go even if we're a few levels
618 // Update thread state. If the GC wakes up, it'll ignore us, knowing
627 // non-null a notifying or interrupting thread must signal the thread's wait_cond_ to wake it
[all...]
H A Dtrace.cc108 auto it = art_method_id_map_.find(method); local
109 if (it != art_method_id_map_.end()) {
110 idx = it->second;
1030 for (auto it : exited_threads_) {
1031 os << it.first << "\t" << it.second << "\n";
/art/test/utils/python/
H A Dgenerate_java_main.py71 def add_instance(self, it):
75 self.tests.add(it)
113 cases for running it in all possible ways.
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc324 // Newly marked. Set the gray bit and push it onto the mark stack.
364 // but it's necessary for the RB to-space invariant to hold.
385 // TODO: don't visit the transaction roots if it's not active.
684 << " Is it in the non-moving space="
761 << " but isn't on the alloc stack (and has white rb_ptr). Is it in the non-moving space="
801 for (auto* it = heap_->allocation_stack_->Begin(), *end = heap_->allocation_stack_->End();
802 it < end; ++it) {
803 mirror::Object* const obj = it->AsMirrorPtr();
1051 // The pool has enough. Delete it
1271 auto* it = GetAllocationStack()->Begin(); local
1742 auto it = skipped_blocks_map_.lower_bound(alloc_size); local
[all...]
/art/compiler/utils/
H A Dassembler_thumb_test.cc281 // an immediate (0) but emitted without any, so we test it here.
303 __ it(arm::EQ);
305 __ it(arm::EQ);
307 __ it(arm::EQ);
309 __ it(arm::EQ);
311 __ it(arm::EQ);
313 __ it(arm::EQ);
315 __ it(arm::EQ);
317 __ it(arm::EQ);
319 __ it(ar
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.cc169 static bool HasNextMethod(ClassDataItemIterator* it) { argument
170 return kDirect ? it->HasNextDirectMethod() : it->HasNextVirtualMethod();
193 ClassDataItemIterator* it,
201 DCHECK(it != nullptr);
206 while (HasNextMethod<kDirect>(it)) {
208 uint32_t method_idx = it->GetMemberIndex();
212 it->Next();
216 InvokeType type = it->GetMethodInvokeType(*class_def);
234 it
3870 VerifyInvocationArgsFromIterator( T* it, const Instruction* inst, MethodType method_type, bool is_range, ArtMethod* res_method) argument
[all...]
H A Dregister_line.cc88 // precise than the subtype in vsrc so leave it for reference types. For primitive types
397 // Record the register was unlocked. This clears all aliases, thus it will also clear the
407 auto it = src_map.find(src); local
408 if (it == src_map.end()) {
412 uint32_t src_lock_levels = it->second;
/art/runtime/base/
H A Dhash_set.h312 // iterator. It must be before the empty slot, in that case we can move it to the empty slot
316 iterator Erase(iterator it) { argument
318 size_t empty_index = it.index_;
332 // Calculate the ideal index, if it is within empty_index + 1 to next_index then there is
347 // If the target index isn't within our current range it must have been probed from before
357 ++it;
359 return it;
461 // Calculate the current load factor and return it.
671 bool owns_data_; // If we own data_ and are responsible for freeing it.
/art/compiler/debug/
H A Delf_debug_info_writer.h179 // It might be expensive, so do it just once and reuse the result.
191 // Write parameters. DecodeDebugLocalInfo returns them as well, but it does not
192 // guarantee order or uniqueness so it is safer to iterate over them manually.
336 // We need to do it only once in j.l.Object since all other types inherit it.
413 const auto& it = class_declarations.find(base_class); local
414 if (it != class_declarations.end()) {
415 info_.UpdateUint32(reference_offset, it->second);
444 // The dex register might be valid only at some points and it might
468 // We use the methods_ field of class since it i
514 const auto& it = type_cache_.find(desc); local
[all...]
/art/compiler/utils/arm/
H A Dassembler_arm_test.h531 for (auto it = without_pc.begin(); it != without_pc.end(); ++it) {
532 if (**it == pc_reg) {
533 without_pc.erase(it);
/art/compiler/
H A Dimage_writer.h97 auto it = image_info.dex_cache_array_starts_.find(dex_file); local
98 DCHECK(it != image_info.dex_cache_array_starts_.end());
101 it->second + offset);
214 // Subtract read barrier bits since we want these to remain 0, or else it may result in DCHECK
351 // .o ELF object. But interpret it as signed.
/art/test/
H A DAndroid.run-test.mk267 # Currently disable tests requiring python3 when it is not installed.
275 # Note 116-nodex2oat is not broken per-se it just doesn't (and isn't meant to) work with --prebuild.
289 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save.
307 # Note 117-nopatchoat is not broken per-se it just doesn't work (and isn't meant to) without
354 # 115-native-bridge setup is complicated. Need to implement it correctly for the target.
383 # 147-stripped-dex-fallback is disabled because it requires --prebuild.
384 # 554-jit-profile-file is disabled because it needs a primary oat file to know what it should save.
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S356 * thread and we branch to another stub to deliver it.
1131 cmp r3, r12 // Check if it fits. OK to do this
1260 vmov d0, r0, r1 @ store into fpr, for when it's a fpr return...
1290 // and jump to it.
1390 // store into fpr, for when it's a fpr return...
1393 // Undo the unwinding information from above since it doesn't apply below.
1416 vmov d0, r0, r1 @ store into fpr, for when it's a fpr return...
1511 * it doesn't fit in the low 64 bits.
1622 it lt
1625 it g
[all...]

Completed in 3130 milliseconds

1234567