Searched defs:root (Results 1 - 16 of 16) sorted by relevance

/art/runtime/entrypoints/quick/
H A Dquick_field_entrypoints.cc653 extern "C" mirror::Object* artReadBarrierForRootSlow(GcRoot<mirror::Object>* root) { argument
655 return root->Read();
/art/oatdump/
H A Doatdump_test.cc46 std::string root = GetTestAndroidRoot(); local
47 root += "/bin/oatdump";
49 root += "d";
51 return root;
/art/imgdiag/
H A Dimgdiag_test.cc66 std::string root = GetTestAndroidRoot(); local
68 root += "/bin/";
69 root += kImgDiagBinaryName;
72 root += "d";
75 std::string root32 = root + "32";
81 return root;
132 // because it's root read-only.
/art/runtime/
H A Dread_barrier-inl.h97 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, argument
99 MirrorType* ref = *root;
128 Atomic<mirror::Object*>* atomic_root = reinterpret_cast<Atomic<mirror::Object*>*>(root);
145 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, argument
147 MirrorType* ref = root->AsMirrorPtr();
171 reinterpret_cast<Atomic<mirror::CompressedReference<MirrorType>>*>(root);
H A Dintern_table.cc66 for (auto& root : new_strong_intern_roots_) {
67 mirror::String* old_ref = root.Read<kWithoutReadBarrier>();
68 root.VisitRoot(visitor, RootInfo(kRootInternedString));
69 mirror::String* new_ref = root.Read<kWithoutReadBarrier>();
71 // The GC moved a root in the log. Need to search the strong interns and update the
186 mirror::Object* root = header->GetImageRoot(ImageHeader::kDexCaches); local
187 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>();
217 mirror::Object* root = image_space->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); local
218 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>();
364 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) cons
[all...]
H A Dcommon_runtime_test.cc140 std::string root; local
143 root += android_build_top;
148 root += cwd;
152 root += "/out/host/linux-x86";
154 root += "/out/host/darwin-x86";
158 setenv("ANDROID_ROOT", root.c_str(), 1);
203 std::string root; local
206 root = android_build_top;
211 root = cwd;
215 std::string toolsdir = root
[all...]
H A Dclass_linker.cc446 // Create storage for root classes, save away our work so far (requires descriptors).
605 // Create java.lang.reflect.Proxy root.
608 // Create java.lang.reflect.Field.class root.
614 // Create java.lang.reflect.Field array root.
620 // Create java.lang.reflect.Constructor.class root and array root.
630 // Create java.lang.reflect.Method.class root and array root.
1026 // String class root was set above
1782 for (GcRoot<mirror::Class>& root
3634 mirror::Object* root = image_space->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); local
[all...]
/art/runtime/verifier/
H A Dreg_type_cache.cc670 GcRoot<mirror::Class>& root = pair.first; local
671 root.VisitRoot(visitor, root_info);
/art/runtime/gc/collector/
H A Dmark_compact.cc409 // Marks all objects in the root set.
443 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
445 if (!root->IsNull()) {
446 VisitRoot(root); variable
450 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
452 root->Assign(collector_->GetMarkedForwardAddress(root->AsMirrorPtr()));
593 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
595 if (!root->IsNull()) {
596 VisitRoot(root); variable
[all...]
H A Dsemi_space.cc312 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
314 if (!root->IsNull()) {
315 VisitRoot(root); variable
319 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
325 CHECK(!from_space_->HasAddress(root->AsMirrorPtr()));
620 mirror::Object* SemiSpace::MarkObject(mirror::Object* root) { argument
621 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root);
633 auto* root = roots[i]; local
634 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root);
635 // The root ca
720 VisitRoot(root); variable
[all...]
H A Dconcurrent_copying.cc362 // Mark the image root. The WB-based collectors do not need to
690 void VisitRoot(mirror::Object* root, const RootInfo& info ATTRIBUTE_UNUSED)
692 DCHECK(root != nullptr);
693 operator()(root);
718 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
720 if (!root->IsNull()) {
721 VisitRoot(root);
725 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
728 visitor(root->AsMirrorPtr());
850 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) cons
1447 LOG(INTERNAL_FATAL) << "root=" << root << " ref=" << *root; local
1655 mirror::Object** root = roots[i]; local
1673 MarkRoot(mirror::CompressedReference<mirror::Object>* root) argument
1695 mirror::CompressedReference<mirror::Object>* const root = roots[i]; member in class:art::gc::collector::mirror
[all...]
/art/runtime/arch/
H A Dstub_test.cc2210 GcRoot<mirror::Class>& root = mirror::String::java_lang_String_; local
2211 size_t result = Invoke3(reinterpret_cast<size_t>(&root), 0U, 0U, readBarrierForRootSlow, self);
/art/compiler/optimizing/
H A Dcode_generator_arm64.cc807 // Slow path generating a read barrier for a GC root.
810 ReadBarrierForRootSlowPathARM64(HInstruction* instruction, Location out, Location root) argument
811 : SlowPathCodeARM64(instruction), out_(out), root_(root) {
821 << "Unexpected instruction in read barrier for GC root slow path: "
4078 static_assert(sizeof(GcRoot<mirror::String>) == 4u, "Expected GC root to be 4 bytes.");
4894 Location root,
4898 Register root_reg = RegisterFrom(root, Primitive::kPrimNot);
4904 // root = obj.field;
4906 // root = ReadBarrier::Mark(root)
[all...]
H A Dcode_generator_arm.cc633 // Slow path generating a read barrier for a GC root.
636 ReadBarrierForRootSlowPathARM(HInstruction* instruction, Location out, Location root) argument
637 : SlowPathCode(instruction), out_(out), root_(root) {
647 << "Unexpected instruction in read barrier for GC root slow path: "
5255 static_assert(sizeof(GcRoot<mirror::String>) == 4u, "Expected GC root to be 4 bytes.");
6022 Location root,
6025 Register root_reg = root.AsRegister<Register>();
6031 // root = obj.field;
6033 // root = ReadBarrier::Mark(root)
6021 GenerateGcRootFieldLoad(HInstruction* instruction, Location root, Register obj, uint32_t offset) argument
6241 GenerateReadBarrierForRootSlow(HInstruction* instruction, Location out, Location root) argument
[all...]
H A Dcode_generator_x86.cc650 // Slow path generating a read barrier for a GC root.
653 ReadBarrierForRootSlowPathX86(HInstruction* instruction, Location out, Location root) argument
654 : SlowPathCode(instruction), out_(out), root_(root) {
664 << "Unexpected instruction in read barrier for GC root slow path: "
6767 Location root,
6770 Register root_reg = root.AsRegister<Register>();
6776 // root = *address;
6778 // root = ReadBarrier::Mark(root)
6781 // /* GcRoot<mirror::Object> */ root
6766 GenerateGcRootFieldLoad(HInstruction* instruction, Location root, const Address& address, Label* fixup_label) argument
6978 GenerateReadBarrierForRootSlow(HInstruction* instruction, Location out, Location root) argument
[all...]
H A Dcode_generator_x86_64.cc670 // Slow path generating a read barrier for a GC root.
673 ReadBarrierForRootSlowPathX86_64(HInstruction* instruction, Location out, Location root) argument
674 : SlowPathCode(instruction), out_(out), root_(root) {
683 << "Unexpected instruction in read barrier for GC root slow path: "
6230 Location root,
6233 CpuRegister root_reg = root.AsRegister<CpuRegister>();
6239 // root = *address;
6241 // root = ReadBarrier::Mark(root)
6244 // /* GcRoot<mirror::Object> */ root
6229 GenerateGcRootFieldLoad(HInstruction* instruction, Location root, const Address& address, Label* fixup_label) argument
6442 GenerateReadBarrierForRootSlow(HInstruction* instruction, Location out, Location root) argument
[all...]

Completed in 578 milliseconds