Searched refs:root (Results 1 - 24 of 24) sorted by relevance

/art/compiler/sea_ir/ir/
H A Dregions_test.cc28 sea_ir::Region* root = sg.GetNewRegion(); local
33 EXPECT_TRUE(std::find(regions->begin(), regions->end(), root) != regions->end());
37 sg.AddEdge(root, then_region);
38 std::vector<sea_ir::Region*>* succs = root->GetSuccessors();
43 EXPECT_EQ(root, preds->at(0));
45 sg.AddEdge(root, else_region);
46 succs = root->GetSuccessors();
52 EXPECT_EQ(root, preds->at(0));
55 EXPECT_EQ(root, preds->at(0));
/art/runtime/
H A Dread_barrier-inl.h47 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root) { argument
48 MirrorType* ref = *root;
H A Dread_barrier.h43 // It's up to the implementation whether the given root gets updated
46 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root)
H A Dintern_table.cc61 for (auto& root : new_strong_intern_roots_) {
62 mirror::String* old_ref = root.Read<kWithoutReadBarrier>();
63 root.VisitRoot(callback, arg, RootInfo(kRootInternedString));
64 mirror::String* new_ref = root.Read<kWithoutReadBarrier>();
66 // The GC moved a root in the log. Need to search the strong interns and update the
154 mirror::Object* root = image_space->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); local
155 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>();
185 mirror::Object* root = image->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); local
186 mirror::ObjectArray<mirror::DexCache>* dex_caches = root->AsObjectArray<mirror::DexCache>();
279 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) cons
[all...]
H A Dcommon_runtime_test.cc119 std::string root; local
122 root += android_build_top;
127 root += cwd;
131 root += "/out/host/linux-x86";
133 root += "/out/host/darwin-x86";
137 setenv("ANDROID_ROOT", root.c_str(), 1);
H A Dgc_root.h69 // Returns the new address of the object, returns root if it has not moved. tid and root_type are
71 typedef void (RootCallback)(mirror::Object** root, void* arg, const RootInfo& root_info);
H A Dreference_table.cc246 for (GcRoot<mirror::Object>& root : entries_) {
247 root.VisitRoot(visitor, arg, root_info);
H A Dintern_table.h102 std::size_t operator()(const GcRoot<mirror::String>& root) const NO_THREAD_SAFETY_ANALYSIS;
199 // enable concurrent intern table (strong) root scan. Do not
H A Dclass_linker.cc268 // Create storage for root classes, save away our work so far (requires descriptors).
473 // Create java.lang.reflect.Proxy root.
1686 // String class root was set above
1708 for (GcRoot<mirror::Class>& root : class_table_) {
1709 root.VisitRoot(callback, arg, RootInfo(kRootStickyClass));
1711 for (GcRoot<mirror::Class>& root : pre_zygote_class_table_) {
1712 root.VisitRoot(callback, arg, RootInfo(kRootStickyClass));
1715 for (auto& root : new_class_roots_) {
1716 mirror::Class* old_ref = root.Read<kWithoutReadBarrier>();
1717 root
3395 mirror::Object* root = image->GetImageHeader().GetImageRoot(ImageHeader::kDexCaches); local
[all...]
H A Dclass_linker.h705 std::size_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS;
734 // This contains strong roots. To enable concurrent root scanning of
H A Dclass_linker_test.cc367 static void TestRootVisitor(mirror::Object** root, void*, const RootInfo&) { argument
368 EXPECT_TRUE(*root != NULL);
H A Dthread.cc2165 // Visitor for when we visit a root.
2248 static void VerifyRoot(mirror::Object** root, void* /*arg*/, const RootInfo& /*root_info*/)
2250 VerifyObject(*root);
/art/runtime/gc/collector/
H A Dmark_sweep.h89 // Marks all objects in the root set at the start of a garbage collection.
120 // Remarks the root set after completing the concurrent mark.
186 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
190 static void VerifyRootMarked(mirror::Object** root, void* arg, const RootInfo& root_info)
198 static void MarkRootParallelCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
222 static void VerifyImageRootVisitor(mirror::Object* root, void* arg)
248 static void VerifyRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info);
250 void VerifyRoot(const mirror::Object* root, const RootInfo& root_info) NO_THREAD_SAFETY_ANALYSIS;
H A Dmark_compact.cc297 mirror::Object* MarkCompact::MarkObjectCallback(mirror::Object* root, void* arg) { argument
298 reinterpret_cast<MarkCompact*>(arg)->MarkObject(root);
299 return root;
312 void MarkCompact::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
313 reinterpret_cast<MarkCompact*>(arg)->MarkObject(*root);
316 void MarkCompact::UpdateRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
317 mirror::Object* obj = *root;
320 *root = new_obj;
396 // Marks all objects in the root set.
H A Dmark_compact.h93 // Marks the root set at the start of a garbage collection.
117 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
120 static mirror::Object* MarkObjectCallback(mirror::Object* root, void* arg)
183 static void UpdateRootCallback(mirror::Object** root, void* arg, const RootInfo& /*root_info*/)
H A Dmark_sweep.cc185 // Re-mark root set.
218 // The checkpoint root marking is required to avoid a race condition which occurs if the
379 LOG(ERROR) << "Attempting see if it's a bad root";
459 void MarkSweep::MarkRootParallelCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
460 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNullParallel(*root);
463 void MarkSweep::VerifyRootMarked(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
464 CHECK(reinterpret_cast<MarkSweep*>(arg)->IsMarked(*root));
467 void MarkSweep::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
468 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNull(*root);
471 void MarkSweep::VerifyRootCallback(Object** root, voi argument
475 VerifyRoot(const Object* root, const RootInfo& root_info) argument
[all...]
H A Dsemi_space.h112 // Marks the root set at the start of a garbage collection.
136 static void MarkRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
139 static mirror::Object* MarkObjectCallback(mirror::Object* root, void* arg)
H A Dsemi_space.cc577 mirror::Object* SemiSpace::MarkObjectCallback(mirror::Object* root, void* arg) { argument
578 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root);
593 void SemiSpace::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) { argument
594 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root);
596 if (*root != ref.AsMirrorPtr()) {
597 *root = ref.AsMirrorPtr();
601 // Marks all objects in the root set.
/art/build/
H A DAndroid.oat.mk38 --host --android-root=$$(HOST_OUT) --include-patch-information
61 --android-root=$$(PRODUCT_OUT)/system --include-patch-information
/art/
H A DAndroid.mk324 --android-root=$(PRODUCT_OUT)/system --include-patch-information \
374 adb root && sleep 3
381 adb root && sleep 3
388 adb root && sleep 3
395 adb root && sleep 3
405 adb root && sleep 3
415 adb root && sleep 3
425 adb root && sleep 3
435 adb root && sleep 3
445 adb root
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table.cc100 void operator()(Object* root) const
103 DCHECK(root != NULL);
105 root->VisitReferences<kMovingClasses>(ref_visitor, VoidFunctor());
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc218 static void PreloadDexCachesStringsCallback(mirror::Object** root, void* arg,
222 mirror::String* string = const_cast<mirror::Object*>(*root)->AsString();
/art/compiler/utils/
H A Dassembler_thumb_test.cc69 std::string root; local
72 root += android_build_top;
77 root += cwd;
82 std::string toolsdir = root;
/art/runtime/gc/
H A Dheap.cc2280 static void RootMatchesObjectVisitor(mirror::Object** root, void* arg, argument
2283 if (*root == obj) {
2284 LOG(INFO) << "Object " << obj << " is a root";
2322 static void VerifyRootCallback(mirror::Object** root, void* arg, const RootInfo& root_info)
2325 if (!visitor->VerifyReference(nullptr, *root, MemberOffset(0))) {
2326 LOG(ERROR) << "Root " << *root << " is dead with type " << PrettyTypeOf(*root)

Completed in 2410 milliseconds