/art/runtime/ |
D | class_table_test.cc | 117 CollectRootVisitor roots; in TEST_F() local 118 table.VisitRoots(roots); in TEST_F() 119 EXPECT_TRUE(roots.roots_.find(h_X.Get()) != roots.roots_.end()); in TEST_F() 120 EXPECT_TRUE(roots.roots_.find(h_Y.Get()) != roots.roots_.end()); in TEST_F() 121 EXPECT_TRUE(roots.roots_.find(obj_X.Get()) != roots.roots_.end()); in TEST_F()
|
D | gc_root.h | 125 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) 128 virtual void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, 137 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override in VisitRoots() argument 140 VisitRoot(*roots[i], info); in VisitRoots() 144 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, in VisitRoots() argument 148 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots() 196 mirror::CompressedReference<mirror::Object>* roots[1] = { &root_ }; in VisitRoot() local 197 visitor->VisitRoots(roots, 1u, info); in VisitRoot()
|
D | oat_file.cc | 2002 auto* roots = reinterpret_cast<GcRoot<mirror::Object>*>(bss_roots_); in GetBssGcRoots() local 2004 return ArrayRef<GcRoot<mirror::Object>>(roots, roots_end - roots); in GetBssGcRoots()
|
/art/test/1945-proxy-method-arguments/ |
D | info.txt | 2 thread stack roots when visiting Quick frames roots (b/73149739).
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Parser.java | 189 List<RootData> roots = new ArrayList<RootData>(); in parseInternal() local 291 roots.add(new RootData(objectId, RootType.JNI_GLOBAL)); in parseInternal() 299 roots.add(new RootData(objectId, RootType.JNI_LOCAL)); in parseInternal() 307 roots.add(new RootData(objectId, RootType.JAVA_FRAME)); in parseInternal() 314 roots.add(new RootData(objectId, RootType.NATIVE_STACK)); in parseInternal() 320 roots.add(new RootData(objectId, RootType.STICKY_CLASS)); in parseInternal() 327 roots.add(new RootData(objectId, RootType.THREAD_BLOCK)); in parseInternal() 333 roots.add(new RootData(objectId, RootType.MONITOR)); in parseInternal() 341 roots.add(new RootData(objectId, RootType.THREAD)); in parseInternal() 520 roots.add(new RootData(objectId, RootType.INTERNED_STRING)); in parseInternal() [all …]
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 436 static void FillRootTable(uint8_t* roots_data, const std::vector<Handle<mirror::Object>>& roots) in FillRootTable() argument 440 const uint32_t length = roots.size(); in FillRootTable() 443 ObjPtr<mirror::Object> object = roots[i].Get(); in FillRootTable() 452 const std::vector<Handle<mirror::Object>>& roots, in CommitData() argument 456 size_t root_table_size = ComputeRootTableSize(roots.size()); in CommitData() 459 FillRootTable(roots_data, roots); in CommitData()
|
D | jit_code_cache.cc | 370 static void DCheckRootsAreValid(const std::vector<Handle<mirror::Object>>& roots, in DCheckRootsAreValid() argument 377 for (Handle<mirror::Object> object : roots) { in DCheckRootsAreValid() 394 uint32_t roots = GetNumberOfRoots(data); in GetRootTable() local 396 *number_of_roots = roots; in GetRootTable() 398 return data - ComputeRootTableSize(roots); in GetRootTable() 409 GcRoot<mirror::Object>* roots = reinterpret_cast<GcRoot<mirror::Object>*>(roots_data); in SweepRootTables() local 412 mirror::Object* object = roots[i].Read<kWithoutReadBarrier>(); in SweepRootTables() 425 roots[i] = GcRoot<mirror::Object>(new_object); in SweepRootTables() 429 reinterpret_cast<GcRoot<mirror::Class>*>(&roots[i]), in SweepRootTables() 644 const std::vector<Handle<mirror::Object>>& roots, in Commit() argument [all …]
|
D | jit_memory_region.h | 99 const std::vector<Handle<mirror::Object>>& roots,
|
D | jit_code_cache.h | 263 const std::vector<Handle<mirror::Object>>& roots,
|
/art/runtime/gc/collector/ |
D | semi_space.h | 148 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override 151 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
|
D | semi_space.cc | 473 void SemiSpace::VisitRoots(mirror::Object*** roots, size_t count, in VisitRoots() argument 476 auto* root = roots[i]; in VisitRoots() 487 void SemiSpace::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, in VisitRoots() argument 490 MarkObjectIfNotInToSpace(roots[i]); in VisitRoots()
|
D | mark_sweep.h | 195 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override 200 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
|
D | mark_sweep.cc | 589 void MarkSweep::VisitRoots(mirror::Object*** roots, in VisitRoots() argument 593 MarkObjectNonNull(*roots[i]); in VisitRoots() 597 void MarkSweep::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 601 MarkObjectNonNull(roots[i]->AsMirrorPtr()); in VisitRoots() 1144 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) in VisitRoots() argument 1148 mark_sweep_->MarkObjectNonNullParallel(*roots[i]); in VisitRoots() 1152 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 1158 mark_sweep_->MarkObjectNonNullParallel(roots[i]->AsMirrorPtr()); in VisitRoots()
|
D | concurrent_copying.h | 194 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override 201 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
|
D | concurrent_copying.cc | 492 void VisitRoots(mirror::Object*** roots, in VisitRoots() argument 498 mirror::Object** root = roots[i]; in VisitRoots() 509 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 515 mirror::CompressedReference<mirror::Object>* const root = roots[i]; in VisitRoots() 938 void VisitRoots(mirror::Object*** roots, in VisitRoots() argument 943 mirror::Object** root = roots[i]; in VisitRoots() 951 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 956 mirror::CompressedReference<mirror::Object>* const root = roots[i]; in VisitRoots() 3232 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) { in VisitRoots() argument 3235 mirror::Object** root = roots[i]; in VisitRoots() [all …]
|
/art/tools/ahat/ |
D | README.txt | 77 Restore old presentation of sample paths from gc roots. 84 Properly mark thread and non-default root objects as roots. 127 Fix mismatch between overview and "roots" totals.
|
/art/openjdkjvmti/ |
D | ti_heap.cc | 933 void VisitRoots(art::mirror::Object*** roots, size_t count, const art::RootInfo& info) in VisitRoots() argument 938 AddRoot(*roots[i], info); in VisitRoots() 942 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in VisitRoots() argument 948 AddRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots() 1707 void VisitRoots(art::mirror::Object*** roots, size_t count, const art::RootInfo& info) override in ReplaceStrongRoots() 1709 art::mirror::Object*** end = roots + count; in ReplaceStrongRoots() 1710 for (art::mirror::Object** obj = *roots; roots != end; obj = *(++roots)) { in ReplaceStrongRoots() 1732 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in ReplaceStrongRoots() 1735 art::mirror::CompressedReference<art::mirror::Object>** end = roots + count; in ReplaceStrongRoots() 1736 for (art::mirror::CompressedReference<art::mirror::Object>* obj = *roots; roots != end; in ReplaceStrongRoots() [all …]
|
D | ti_class.cc | 391 void VisitRoots(art::mirror::Object*** roots, in VisitRoots() argument 396 if (*roots[i] == input_) { in VisitRoots() 397 *roots[i] = output_; in VisitRoots() 402 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in VisitRoots() argument 407 if (roots[i]->AsMirrorPtr() == input_) { in VisitRoots() 408 roots[i]->Assign(output_); in VisitRoots()
|
/art/compiler/optimizing/ |
D | code_generator.cc | 194 void EmitJitRoots(/*out*/std::vector<Handle<mirror::Object>>* roots) 227 /*out*/std::vector<Handle<mirror::Object>>* roots) { in EmitJitRoots() argument 228 DCHECK(roots->empty()); in EmitJitRoots() 229 roots->reserve(GetNumberOfJitRoots()); in EmitJitRoots() 236 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots() 237 DCHECK(roots->back() != nullptr); in EmitJitRoots() 238 DCHECK(roots->back()->IsString()); in EmitJitRoots() 242 class_linker->GetInternTable()->InternStrong(roots->back()->AsString()); in EmitJitRoots() 249 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots() 250 DCHECK(roots->back() != nullptr); in EmitJitRoots() [all …]
|
D | optimizing_compiler.cc | 1256 std::vector<Handle<mirror::Object>> roots; in JitCompile() local 1310 roots, in JitCompile() 1380 std::vector<Handle<mirror::Object>> roots; in JitCompile() local 1381 codegen->EmitJitRoots(code_allocator.GetData(), roots_data, &roots); in JitCompile() 1383 DCHECK(std::all_of(roots.begin(), in JitCompile() 1384 roots.end(), in JitCompile() 1418 roots, in JitCompile()
|
D | code_generator.h | 393 /*out*/std::vector<Handle<mirror::Object>>* roots)
|
/art/runtime/verifier/ |
D | method_verifier.h | 188 void VisitRoots(RootVisitor* visitor, const RootInfo& roots)
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1707 std::vector<ObjPtr<mirror::Object>> roots; in ReleaseRoots() local 1708 roots.swap(roots_); in ReleaseRoots() 1709 return roots; in ReleaseRoots() 2675 void VisitRoots(mirror::Object*** roots ATTRIBUTE_UNUSED, in VisitRoots() 2682 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 2689 ObjPtr<mirror::Object> old_ptr = roots[i]->AsMirrorPtr(); in VisitRoots() 2690 roots[i]->Assign(image_writer_->GetImageAddress(old_ptr.Ptr())); in VisitRoots()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 624 void VisitRoots(mirror::Object*** roots ATTRIBUTE_UNUSED, in VisitRoots() 637 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots ATTRIBUTE_UNUSED, in VisitRoots()
|