Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 81) 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.h112 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
114 VisitRoots(&root, 1, info); in VisitRoot()
118 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
120 if (*root != nullptr) { in VisitRootIfNonNull()
121 VisitRoot(root, info); in VisitRootIfNonNull()
152 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0;
247 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull() argument
249 if (!root.IsNull()) { in VisitRootIfNonNull()
250 VisitRoot(root); in VisitRootIfNonNull()
255 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) in VisitRootIfNonNull() argument
[all …]
Dclass_table-inl.h38 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots()
39 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots()
42 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots()
43 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots()
56 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots()
57 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots()
60 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots()
61 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots()
114 GcRoot<mirror::Class> root(before_ptr); in VisitRoot()
115 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.cc82 for (const TableSlot& root : set) { in CountDefiningLoaderClasses() local
83 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses()
226 for (GcRoot<mirror::Object>& root : strong_roots_) { in InsertStrongRoot()
227 if (root.Read() == obj) { in InsertStrongRoot()
264 for (const TableSlot& root : class_set) { in WriteToMemory() local
265 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/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,
Dboot-image-profile-configure-device.sh54 adb root
Dbuildbot-cleanup-device.sh24 adb root
Dcompile-jar.sh40 --android-root=${OUT}/system --instruction-set=$ISA \
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSuperRoot.java31 void addRoot(AhatInstance root) { in addRoot() argument
32 mRoots.add(root); in addRoot()
DAhatSnapshot.java40 AhatSnapshot(SuperRoot root, in AhatSnapshot() argument
46 mSuperRoot = root; in AhatSnapshot()
/art/runtime/gc/collector/
Dsemi_space.cc253 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull()
255 if (!root->IsNull()) { in VisitRootIfNonNull()
256 VisitRoot(root); in VisitRootIfNonNull()
260 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot()
266 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
465 mirror::Object* SemiSpace::MarkObject(mirror::Object* root) { in MarkObject() argument
466 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObject()
479 auto* root = roots[i]; in VisitRoots() local
480 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in VisitRoots()
484 if (*root != ref.AsMirrorPtr()) { in VisitRoots()
[all …]
/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/libnativeloader/test/
Druntest.sh2 adb root
/art/tools/ahat/
DREADME.txt75 Fix bug in selection of sample paths from gc root.
81 Properly mark thread and non-default root objects as roots.
94 Simplify presentation of sample path from gc root.
106 Show sample path from GC root with field names in place of dominator path.
125 Annotate root objects and show their types.

1234