/art/runtime/ |
D | class_table_test.cc | 122 CollectRootVisitor roots; in TEST_F() local 123 table.VisitRoots(roots); in TEST_F() 124 EXPECT_TRUE(roots.roots_.find(h_X.Get()) != roots.roots_.end()); in TEST_F() 125 EXPECT_TRUE(roots.roots_.find(h_Y.Get()) != roots.roots_.end()); in TEST_F() 126 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 | 2080 auto* roots = reinterpret_cast<GcRoot<mirror::Object>*>(bss_roots_); in GetBssGcRoots() local 2082 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 | 380 static void DCheckRootsAreValid(const std::vector<Handle<mirror::Object>>& roots, in DCheckRootsAreValid() argument 387 for (Handle<mirror::Object> object : roots) { in DCheckRootsAreValid() 404 uint32_t roots = GetNumberOfRoots(data); in GetRootTable() local 406 *number_of_roots = roots; in GetRootTable() 408 return data - ComputeRootTableSize(roots); in GetRootTable() 421 GcRoot<mirror::Object>* roots = reinterpret_cast<GcRoot<mirror::Object>*>(roots_data); in SweepRootTables() local 424 mirror::Object* object = roots[i].Read<kWithoutReadBarrier>(); in SweepRootTables() 435 roots[i] = GcRoot<mirror::Object>(new_object); in SweepRootTables() 440 roots[i] = GcRoot<mirror::Object>(Runtime::GetWeakClassSentinel()); in SweepRootTables() 442 roots[i] = GcRoot<mirror::Object>(new_klass); in SweepRootTables() [all …]
|
D | jit_memory_region.h | 99 const std::vector<Handle<mirror::Object>>& roots,
|
D | jit_code_cache.h | 266 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 | 474 void SemiSpace::VisitRoots(mirror::Object*** roots, size_t count, in VisitRoots() argument 477 auto* root = roots[i]; in VisitRoots() 488 void SemiSpace::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count, in VisitRoots() argument 491 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() 1145 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) in VisitRoots() argument 1149 mark_sweep_->MarkObjectNonNullParallel(*roots[i]); in VisitRoots() 1153 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 1159 mark_sweep_->MarkObjectNonNullParallel(roots[i]->AsMirrorPtr()); in VisitRoots()
|
D | concurrent_copying.h | 198 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override 205 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
|
D | concurrent_copying.cc | 510 void VisitRoots(mirror::Object*** roots, in VisitRoots() argument 516 mirror::Object** root = roots[i]; in VisitRoots() 527 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 533 mirror::CompressedReference<mirror::Object>* const root = roots[i]; in VisitRoots() 953 void VisitRoots(mirror::Object*** roots, in VisitRoots() argument 958 mirror::Object** root = roots[i]; in VisitRoots() 966 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 971 mirror::CompressedReference<mirror::Object>* const root = roots[i]; in VisitRoots() 3270 mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) { in VisitRoots() argument 3273 mirror::Object** root = roots[i]; in VisitRoots() [all …]
|
D | mark_compact.h | 111 void VisitRoots(mirror::Object*** roots, 116 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots,
|
D | mark_compact.cc | 3635 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info ATTRIBUTE_UNUSED) in VisitRoots() argument 3639 mirror::Object* obj = *roots[i]; in VisitRoots() 3646 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 3652 mirror::Object* obj = roots[i]->AsMirrorPtr(); in VisitRoots() 4155 void MarkCompact::VisitRoots(mirror::Object*** roots, in VisitRoots() argument 4160 UpdateRoot(roots[i], info); in VisitRoots() 4164 MarkObjectNonNull(*roots[i]); in VisitRoots() 4169 void MarkCompact::VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 4175 UpdateRoot(roots[i], info); in VisitRoots() 4179 MarkObjectNonNull(roots[i]->AsMirrorPtr()); in VisitRoots()
|
/art/tools/ahat/ |
D | README.txt | 84 Restore old presentation of sample paths from gc roots. 91 Properly mark thread and non-default root objects as roots. 134 Fix mismatch between overview and "roots" totals.
|
/art/openjdkjvmti/ |
D | ti_heap.cc | 931 void VisitRoots(art::mirror::Object*** roots, size_t count, const art::RootInfo& info) in VisitRoots() argument 936 AddRoot(*roots[i], info); in VisitRoots() 940 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in VisitRoots() argument 946 AddRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots() 1705 void VisitRoots(art::mirror::Object*** roots, size_t count, const art::RootInfo& info) override in ReplaceStrongRoots() 1707 art::mirror::Object*** end = roots + count; in ReplaceStrongRoots() 1708 for (art::mirror::Object** obj = *roots; roots != end; obj = *(++roots)) { in ReplaceStrongRoots() 1730 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in ReplaceStrongRoots() 1733 art::mirror::CompressedReference<art::mirror::Object>** end = roots + count; in ReplaceStrongRoots() 1734 for (art::mirror::CompressedReference<art::mirror::Object>* obj = *roots; roots != end; in ReplaceStrongRoots() [all …]
|
D | ti_class.cc | 388 void VisitRoots(art::mirror::Object*** roots, in VisitRoots() argument 393 if (*roots[i] == input_) { in VisitRoots() 394 *roots[i] = output_; in VisitRoots() 399 void VisitRoots(art::mirror::CompressedReference<art::mirror::Object>** roots, in VisitRoots() argument 404 if (roots[i]->AsMirrorPtr() == input_) { in VisitRoots() 405 roots[i]->Assign(output_); in VisitRoots()
|
/art/compiler/optimizing/ |
D | code_generator.cc | 197 void EmitJitRoots(/*out*/std::vector<Handle<mirror::Object>>* roots) 230 /*out*/std::vector<Handle<mirror::Object>>* roots) { in EmitJitRoots() argument 231 DCHECK(roots->empty()); in EmitJitRoots() 232 roots->reserve(GetNumberOfJitRoots()); in EmitJitRoots() 239 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots() 240 DCHECK(roots->back() != nullptr); in EmitJitRoots() 241 DCHECK(roots->back()->IsString()); in EmitJitRoots() 245 class_linker->GetInternTable()->InternStrong(roots->back()->AsString()); in EmitJitRoots() 252 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots() 253 DCHECK(roots->back() != nullptr); in EmitJitRoots() [all …]
|
D | optimizing_compiler.cc | 1269 std::vector<Handle<mirror::Object>> roots; in JitCompile() local 1326 roots, in JitCompile() 1396 std::vector<Handle<mirror::Object>> roots; in JitCompile() local 1397 codegen->EmitJitRoots(code_allocator.GetData(), roots_data, &roots); in JitCompile() 1399 DCHECK(std::all_of(roots.begin(), in JitCompile() 1400 roots.end(), in JitCompile() 1434 roots, in JitCompile()
|
D | code_generator.h | 413 /*out*/std::vector<Handle<mirror::Object>>* roots)
|
/art/runtime/verifier/ |
D | method_verifier.h | 165 void VisitRoots(RootVisitor* visitor, const RootInfo& roots)
|
/art/dex2oat/linker/ |
D | image_writer.cc | 2762 void VisitRoots(mirror::Object*** roots ATTRIBUTE_UNUSED, in VisitRoots() 2769 void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, in VisitRoots() argument 2776 ObjPtr<mirror::Object> old_ptr = roots[i]->AsMirrorPtr(); in VisitRoots() 2777 roots[i]->Assign(image_writer_->GetImageAddress(old_ptr.Ptr())); in VisitRoots()
|