Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 80) sorted by relevance

1234

/art/test/913-heaps/
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
5 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
6 root@root --(thread)--> 3000@0 [size=124, length=-1]
45 root@root --(jni-global)--> 1@1000 [size=16, length=-1]
46 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
48 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
50 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= …
[all …]
/art/runtime/
Dgc_root.h111 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
113 VisitRoots(&root, 1, info); in VisitRoot()
117 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
119 if (*root != nullptr) { in VisitRootIfNonNull()
120 VisitRoot(root, info); in VisitRootIfNonNull()
151 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0;
246 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull() argument
248 if (!root.IsNull()) { in VisitRootIfNonNull()
249 VisitRoot(root); in VisitRootIfNonNull()
254 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) in VisitRootIfNonNull() argument
[all …]
Dclass_table-inl.h37 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots()
38 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots()
41 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots()
42 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots()
55 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots()
56 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots()
59 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots()
60 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots()
109 GcRoot<mirror::Class> root(before_ptr); in VisitRoot()
110 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
[all …]
Dreference_table.cc263 for (GcRoot<mirror::Object>& root : entries) { in Dump()
264 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) { in Dump()
265 sorted_entries.push_back(root); in Dump()
275 GcRoot<mirror::Object> root; in Dump() member in art::ReferenceTable::Dump::SummaryElement
281 root = ref.root; in Dump()
289 root = _root; in Dump()
298 for (GcRoot<mirror::Object>& root : sorted_entries) { in Dump()
299 ObjPtr<mirror::Object> current = root.Read<kWithoutReadBarrier>(); in Dump()
301 if (UNLIKELY(prev.root.IsNull())) { in Dump()
302 prev.Reset(root); in Dump()
[all …]
Dsubtype_check_info_test.cc320 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); in TEST_F() local
321 EXPECT_EQ(MakeBitStringChar(1u), root.GetNext()); in TEST_F()
323 SubtypeCheckInfo childC = root.CreateChild(/*assign_next=*/true); in TEST_F()
325 EXPECT_EQ(MakeBitStringChar(2u), root.GetNext()); // Next incremented for Assign. in TEST_F()
340 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); in TEST_F() local
341 EXPECT_EQ(MakeBitStringChar(1u), root.GetNext()); in TEST_F()
343 SubtypeCheckInfo childC = root.CreateChild(/*assign_next=*/true); in TEST_F()
345 EXPECT_EQ(MakeBitStringChar(2u), root.GetNext()); // Next incremented for Assign. in TEST_F()
350 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); in TEST_F() local
351 EXPECT_EQ(MakeBitStringChar(1u), root.GetNext()); in TEST_F()
[all …]
Dclass_table_test.cc39 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) const in VisitRootIfNonNull()
41 if (!root.IsNull()) { in VisitRootIfNonNull()
42 VisitRoot(root); in VisitRootIfNonNull()
47 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) const in VisitRootIfNonNull()
49 if (!root->IsNull()) { in VisitRootIfNonNull()
50 VisitRoot(root); in VisitRootIfNonNull()
55 void VisitRoot(GcRoot<MirrorType>& root) const REQUIRES_SHARED(Locks::mutator_lock_) { in VisitRoot()
56 VisitRoot(root.AddressWithoutBarrier()); in VisitRoot()
60 void VisitRoot(mirror::CompressedReference<MirrorType>* root) const in VisitRoot()
62 roots_.insert(root->AsMirrorPtr()); in VisitRoot()
Dsubtype_check_test.cc360 SCTree root = SCTree::Lookup(root_); in TEST_F() local
361 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
362 EXPECT_EQ(SubtypeCheckInfo::kSubtypeOf, root.IsSubtypeOf(root)) << root; in TEST_F()
370 SCTree root = SCTree::Lookup(root_); in TEST_F() local
371 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized()); in TEST_F()
380 EXPECT_EQ(SubtypeCheckInfo::kUnknownSubtypeOf, root.IsSubtypeOf(child_tree)) << child_tree; in TEST_F()
381 EXPECT_EQ(SubtypeCheckInfo::kUnknownSubtypeOf, child_tree.IsSubtypeOf(root)) << child_tree; in TEST_F()
385 EXPECT_EQ(SubtypeCheckInfo::kSubtypeOf, child_tree.IsSubtypeOf(root)) << child_tree; in TEST_F()
386 EXPECT_EQ(SubtypeCheckInfo::kUnknownSubtypeOf, root.IsSubtypeOf(child_tree)) << child_tree; in TEST_F()
395 SCTree root = SCTree::Lookup(root_); in TEST_F() local
[all …]
Dread_barrier-inl.h107 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, in BarrierForRoot() argument
109 MirrorType* ref = *root; in BarrierForRoot()
138 Atomic<MirrorType*>* atomic_root = reinterpret_cast<Atomic<MirrorType*>*>(root); in BarrierForRoot()
155 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, in BarrierForRoot() argument
157 MirrorType* ref = root->AsMirrorPtr(); in BarrierForRoot()
181 reinterpret_cast<Atomic<mirror::CompressedReference<MirrorType>>*>(root); in BarrierForRoot()
Dclass_table.cc88 for (const TableSlot& root : set) { in CountDefiningLoaderClasses() local
89 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses()
224 for (GcRoot<mirror::Object>& root : strong_roots_) { in InsertStrongRoot()
225 if (root.Read() == obj) { in InsertStrongRoot()
262 for (const TableSlot& root : class_set) { in WriteToMemory() local
263 combined.insert(root); in WriteToMemory()
Dread_barrier.h63 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root,
70 ALWAYS_INLINE static MirrorType* BarrierForRoot(mirror::CompressedReference<MirrorType>* root,
/art/imgdiag/
Dimgdiag_test.cc64 std::string root = GetTestAndroidRoot(); in GetImgDiagFilePath() local
66 root += "/bin/"; in GetImgDiagFilePath()
67 root += kImgDiagBinaryName; in GetImgDiagFilePath()
70 root += "d"; in GetImgDiagFilePath()
73 std::string root32 = root + "32"; in GetImgDiagFilePath()
79 return root; in GetImgDiagFilePath()
/art/tools/ahat/src/main/com/android/ahat/dominators/
DDominatorsComputation.java105 public static void computeDominators(Node root) { in computeDominators() argument
106 computeDominators(root, new NullProgress(), 0); in computeDominators()
122 public static void computeDominators(Node root, Progress progress, long numNodes) { in computeDominators() argument
145 new Dominators(graph).progress(progress, numNodes).computeDominators(root); in computeDominators()
/art/tools/ahat/src/test/com/android/ahat/
DObjectsHandlerTest.java35 Site root = snapshot.getRootSite(); in getObjects() local
39 root, "DumpedStuff", /* subclass */ false, /* heapName */ null); in getObjects()
45 root, "SuperDumpedStuff", /* subclass */ false, /* heapName */ null); in getObjects()
50 root, "SuperDumpedStuff", /* subclass */ true, /* heapName */ null); in getObjects()
DDominatorsTest.java218 String root = "end"; in stackOverflow() local
219 graph.node(root); in stackOverflow()
222 String child = root; in stackOverflow()
223 root = "n" + i; in stackOverflow()
224 graph.node(root, child); in stackOverflow()
227 new Dominators(graph).computeDominators(root); in stackOverflow()
/art/runtime/gc/accounting/
Dremembered_set.cc91 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
93 if (!root->IsNull()) { in VisitRootIfNonNull()
94 VisitRoot(root); in VisitRootIfNonNull()
98 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot()
100 if (target_space_->HasAddress(root->AsMirrorPtr())) { in VisitRoot()
102 root->Assign(collector_->MarkObject(root->AsMirrorPtr())); in VisitRoot()
103 DCHECK(!target_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
Dmod_union_table.cc108 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
110 VisitRoot(root); in VisitRootIfNonNull()
113 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot()
115 MarkReference(root); in VisitRoot()
154 void operator()(mirror::Object* root) const in operator ()()
157 DCHECK(root != nullptr); in operator ()()
162 root->VisitReferences(ref_visitor, VoidFunctor()); in operator ()()
209 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
211 if (!root->IsNull()) { in VisitRootIfNonNull()
212 VisitRoot(root); in VisitRootIfNonNull()
[all …]
/art/tools/
Dgenerate_cmake_lists.py78 for root, dirs, files in os.walk(out_art_cmakelists_dir):
81 if (os.path.samefile(root, out_art_cmakelists_dir)):
83 if arch not in root:
85 cmake_sub_dir = cmake_sub_dirs.add(root.replace(out_art_cmakelists_dir,
Dunmount-buildbot-apexes.sh27 adb root
Dcleanup-buildbot-device.sh21 adb root
/art/dexlayout/
Ddexdiag_test.cc43 std::string root = GetTestAndroidRoot(); in GetDexDiagFilePath() local
45 root += "/bin/"; in GetDexDiagFilePath()
46 root += kDexDiagBinaryName; in GetDexDiagFilePath()
48 std::string root32 = root + "32"; in GetDexDiagFilePath()
54 return root; in GetDexDiagFilePath()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSuperRoot.java31 void addRoot(AhatInstance root) { in addRoot() argument
32 mRoots.add(root); in addRoot()
/art/runtime/gc/collector/
Dsemi_space.cc307 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
309 if (!root->IsNull()) { in VisitRootIfNonNull()
310 VisitRoot(root); in VisitRootIfNonNull()
314 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot()
320 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
606 mirror::Object* SemiSpace::MarkObject(mirror::Object* root) { in MarkObject() argument
607 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObject()
620 auto* root = roots[i]; in VisitRoots() local
621 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in VisitRoots()
625 if (*root != ref.AsMirrorPtr()) { in VisitRoots()
[all …]
/art/oatdump/
Doatdump_test.h75 std::string root = GetTestAndroidRoot(); in GetExecutableFilePath() local
76 root += "/bin/"; in GetExecutableFilePath()
77 root += name; in GetExecutableFilePath()
79 root += "d"; in GetExecutableFilePath()
82 root += "s"; in GetExecutableFilePath()
84 return root; in GetExecutableFilePath()
/art/runtime/gc/
Dverification.cc170 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
172 if (!root->IsNull()) { in VisitRootIfNonNull()
173 VisitRoot(root); in VisitRootIfNonNull()
177 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot()
179 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
/art/tools/ahat/
DREADME.txt71 Fix bug in selection of sample paths from gc root.
77 Properly mark thread and non-default root objects as roots.
90 Simplify presentation of sample path from gc root.
102 Show sample path from GC root with field names in place of dominator path.
121 Annotate root objects and show their types.

1234