/art/test/913-heaps/ |
D | expected-stdout.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 | 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-inl.h | 77 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots() 78 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots() 81 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots() 82 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots() 95 for (GcRoot<mirror::Object>& root : strong_roots_) { in VisitRoots() 96 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoots() 99 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) { in VisitRoots() 100 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); in VisitRoots() 153 GcRoot<mirror::Class> root(before_ptr); in VisitRoot() 154 visitor.VisitRoot(root.AddressWithoutBarrier()); in VisitRoot() [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 | 66 for (const TableSlot& root : set) { in CountDefiningLoaderClasses() local 67 if (root.Read()->GetClassLoader() == defining_loader) { in CountDefiningLoaderClasses() 139 for (GcRoot<mirror::Object>& root : strong_roots_) { in InsertStrongRoot() 140 if (root.Read() == obj) { in InsertStrongRoot()
|
D | read_barrier.h | 63 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root, 70 ALWAYS_INLINE static MirrorType* BarrierForRoot(mirror::CompressedReference<MirrorType>* root,
|
/art/test/utils/ |
D | regen-test-files | 707 root = xml.dom.minidom.Document() 709 advisory_header = root.createComment(f" {ADVISORY} ") 710 root.appendChild(advisory_header) 711 copyright_header = root.createComment(copyright_header_text(self.copyright_year)) 712 root.appendChild(copyright_header) 714 configuration = root.createElement("configuration") 715 root.appendChild(configuration) 723 include = root.createElement("include") 728 option = root.createElement("option") 733 xml_str = root.toprettyxml(indent = XML_INDENT, encoding = "utf-8") [all …]
|
/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()
|
D | Dominators.java | 281 public void computeDominators(Node root) { in computeDominators() argument 292 rootS.node = root; in computeDominators() 295 graph.setDominatorsComputationState(root, rootS); in computeDominators() 299 for (Node child : graph.getReferencesForDominators(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
|
/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() 462 mirror::Object* SemiSpace::MarkObject(mirror::Object* root) { in MarkObject() argument 463 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObject() 476 auto* root = roots[i]; in VisitRoots() local 477 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in VisitRoots() 481 if (*root != ref.AsMirrorPtr()) { in VisitRoots() [all …]
|
D | concurrent_copying.cc | 498 mirror::Object** root = roots[i]; in VisitRoots() local 499 mirror::Object* ref = *root; in VisitRoots() 503 *root = to_ref; in VisitRoots() 515 mirror::CompressedReference<mirror::Object>* const root = roots[i]; in VisitRoots() local 516 if (!root->IsNull()) { in VisitRoots() 517 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots() 520 root->Assign(to_ref); in VisitRoots() 620 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull() 623 if (!root->IsNull()) { in VisitRootIfNonNull() 624 VisitRoot(root); in VisitRootIfNonNull() [all …]
|
/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()
|
/art/runtime/gc/ |
D | verification.cc | 169 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const in VisitRootIfNonNull() 171 if (!root->IsNull()) { in VisitRootIfNonNull() 172 VisitRoot(root); in VisitRootIfNonNull() 176 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const in VisitRoot() 178 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
|
/art/libnativeloader/test/ |
D | runtest.sh | 2 adb root
|
/art/tools/ahat/ |
D | README.txt | 78 Fix bug in selection of sample paths from gc root. 84 Properly mark thread and non-default root objects as roots. 97 Simplify presentation of sample path from gc root. 109 Show sample path from GC root with field names in place of dominator path. 128 Annotate root objects and show their types.
|