/art/test/913-heaps/ |
D | expected.txt | 3 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/ |
D | gc_root.h | 112 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 …]
|
D | class_table-inl.h | 38 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 …]
|
D | reference_table.cc | 263 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 …]
|
D | subtype_check_info_test.cc | 320 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 …]
|
D | class_table_test.cc | 39 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()
|
D | subtype_check_test.cc | 360 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 …]
|
D | read_barrier-inl.h | 107 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()
|
D | class_table.cc | 82 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()
|
D | read_barrier.h | 63 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/ |
D | DominatorsComputation.java | 105 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/ |
D | ObjectsHandlerTest.java | 35 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()
|
D | DominatorsTest.java | 218 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/ |
D | remembered_set.cc | 91 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()
|
D | mod_union_table.cc | 108 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/ |
D | generate_cmake_lists.py | 78 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,
|
D | boot-image-profile-configure-device.sh | 54 adb root
|
D | buildbot-cleanup-device.sh | 24 adb root
|
D | compile-jar.sh | 40 --android-root=${OUT}/system --instruction-set=$ISA \
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | SuperRoot.java | 31 void addRoot(AhatInstance root) { in addRoot() argument 32 mRoots.add(root); in addRoot()
|
D | AhatSnapshot.java | 40 AhatSnapshot(SuperRoot root, in AhatSnapshot() argument 46 mSuperRoot = root; in AhatSnapshot()
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 253 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/ |
D | verification.cc | 170 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/ |
D | runtest.sh | 2 adb root
|
/art/tools/ahat/ |
D | README.txt | 75 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.
|