Searched defs:root (Results 1 - 25 of 28) sorted by relevance

12

/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DSuperRoot.java32 void addRoot(AhatInstance root) { argument
33 mRoots.add(root);
H A DAhatSnapshot.java39 AhatSnapshot(SuperRoot root, argument
43 mSuperRoot = root;
125 * An instance is "rooted" if it is a GC root, or if it is retained by more
126 * than one GC root. These are reachable instances that are not immediately
136 * Returns the root allocation site for this snapshot.
138 * @return the root allocation site
147 * Returns the root site if no site with the given id is found.
H A DDiff.java248 * Sets the baseline for root and all its descendants to baseline.
250 private static void setSitesBaseline(Site root, Site baseline) { argument
251 root.setBaseline(baseline);
252 for (Site child : root.getChildren()) {
H A DAhatInstance.java44 // Bit vector of the root types of this object.
160 * reachable if there exists a path of (strong) references from some root
173 * from some root object to this object. Because the object is not strongly
188 * completely unreachable if there is no path to the object from some root
214 * Returns true if this instance is a GC root.
216 * @return true if this instance is a GC root.
224 * Marks this instance as being a root of the given type.
231 * Returns a list of the root types of this object.
232 * Returns null if this object is not a root.
234 * @return list of the objects root type
607 computeReverseReferences(SuperRoot root) argument
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_field_entrypoints.cc409 extern "C" mirror::Object* artReadBarrierForRootSlow(GcRoot<mirror::Object>* root) { argument
411 return root->Read();
/art/dexlayout/
H A Ddexdiag_test.cc43 std::string root = GetTestAndroidRoot(); local
45 root += "/bin/";
46 root += kDexDiagBinaryName;
48 std::string root32 = root + "32";
54 return root;
/art/imgdiag/
H A Dimgdiag_test.cc68 std::string root = GetTestAndroidRoot(); local
70 root += "/bin/";
71 root += kImgDiagBinaryName;
74 root += "d";
77 std::string root32 = root + "32";
83 return root;
134 // because it's root read-only.
/art/runtime/
H A Dread_barrier-inl.h102 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, argument
104 MirrorType* ref = *root;
133 Atomic<mirror::Object*>* atomic_root = reinterpret_cast<Atomic<mirror::Object*>*>(root);
150 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, argument
152 MirrorType* ref = root->AsMirrorPtr();
176 reinterpret_cast<Atomic<mirror::CompressedReference<MirrorType>>*>(root);
H A Dreference_table.cc263 for (GcRoot<mirror::Object>& root : entries) {
264 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) {
265 sorted_entries.push_back(root);
275 GcRoot<mirror::Object> root; member in class:art::SummaryElement
281 root = ref.root;
289 root = _root;
298 for (GcRoot<mirror::Object>& root : sorted_entries) {
299 ObjPtr<mirror::Object> current = root
[all...]
H A Dsubtype_check_info_test.cc178 GetExpectedMessageForDeathTest("Path to root had non-0s following 0s"));
183 GetExpectedMessageForDeathTest("Path to root had non-0s following 0s"));
188 GetExpectedMessageForDeathTest("Path to root had non-0s following 0s"));
320 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); local
321 EXPECT_EQ(MakeBitStringChar(1u), root.GetNext());
323 SubtypeCheckInfo childC = root.CreateChild(/*assign*/true);
325 EXPECT_EQ(MakeBitStringChar(2u), root.GetNext()); // Next incremented for Assign.
340 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); local
341 EXPECT_EQ(MakeBitStringChar(1u), root.GetNext());
343 SubtypeCheckInfo childC = root
350 SubtypeCheckInfo root = SubtypeCheckInfo::CreateRoot(); local
[all...]
H A Dtransaction.cc45 Transaction::Transaction(bool strict, mirror::Class* root) : Transaction() { argument
47 root_ = root;
H A Dcommon_runtime_test.cc166 std::string root; local
169 root += android_build_top;
174 root += cwd;
178 root += "/out/host/linux-x86";
180 root += "/out/host/darwin-x86";
184 setenv("ANDROID_ROOT", root.c_str(), 1);
229 std::string root; local
232 root = android_build_top;
237 root = cwd;
241 std::string toolsdir = root
[all...]
H A Dsubtype_check_test.cc46 path_to_root_ = ""; // root has no path.
358 SCTree root = SCTree::Lookup(root_);
359 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized());
360 EXPECT_EQ(SubtypeCheckInfo::kSubtypeOf, root.IsSubtypeOf(root)) << root;
368 SCTree root = SCTree::Lookup(root_);
369 EXPECT_EQ(SubtypeCheckInfo::kAssigned, root.EnsureInitialized());
373 // Initialize root's children only.
378 EXPECT_EQ(SubtypeCheckInfo::kUnknownSubtypeOf, root
674 EnsureStateChangedTest( MockClass* root, size_t depth, std::vector<std::pair<SubtypeCheckInfo::State, SubtypeCheckInfo::State>> transitions) argument
[all...]
H A Druntime.cc803 // has just been generated, important root clinits have been run and JNI is completely functional.
2262 void Runtime::EnterTransactionMode(bool strict, mirror::Class* root) { argument
2264 preinitialization_transactions_.push_back(std::make_unique<Transaction>(strict, root));
/art/tools/ahat/src/main/com/android/ahat/dominators/
H A DDominatorsComputation.java29 * some root node with no incoming edges.
79 * once for each node reachable from the root node of the dominators
104 // this node was visited in a depth first search from the root. In
121 // root than this node.
125 // The largest id of the nodes we have seen so far on a path from the root
131 // root with increasing ids (possibly excluding X) that this node does not
149 * Computes the immediate dominators of all nodes reachable from the <code>root</code> node.
150 * There must not be any incoming references to the <code>root</code> node.
153 * function on every node reachable from the root node.
155 * @param root th
158 computeDominators(Node root) argument
[all...]
/art/oatdump/
H A Doatdump_test.h75 std::string root = GetTestAndroidRoot(); local
76 root += "/bin/";
77 root += name;
79 root += "d";
82 root += "s";
84 return root;
/art/runtime/gc/collector/
H A Dmark_compact.cc403 // Marks all objects in the root set.
436 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
438 if (!root->IsNull()) {
439 VisitRoot(root); variable
443 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
445 root->Assign(collector_->GetMarkedForwardAddress(root->AsMirrorPtr()));
585 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
587 if (!root->IsNull()) {
588 VisitRoot(root); variable
[all...]
H A Dsemi_space.cc305 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
307 if (!root->IsNull()) {
308 VisitRoot(root); variable
312 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
318 CHECK(!from_space_->HasAddress(root->AsMirrorPtr()));
604 mirror::Object* SemiSpace::MarkObject(mirror::Object* root) { argument
605 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root);
618 auto* root = roots[i]; local
619 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root);
620 // The root ca
705 VisitRoot(root); variable
[all...]
H A Dconcurrent_copying.cc373 mirror::Object** root = roots[i]; local
374 mirror::Object* ref = *root;
378 *root = to_ref;
389 mirror::CompressedReference<mirror::Object>* const root = roots[i]; member in class:art::gc::collector::ConcurrentCopying::ThreadFlipVisitor::mirror
390 if (!root->IsNull()) {
391 mirror::Object* ref = root->AsMirrorPtr();
394 root->Assign(to_ref);
484 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
487 if (!root->IsNull()) {
488 VisitRoot(root);
1913 LOG(FATAL_WITHOUT_ABORT) << "root=" << root << " ref=" << *root; local
2158 mirror::Object** root = roots[i]; local
2177 MarkRoot(mirror::CompressedReference<mirror::Object>* root) argument
2199 mirror::CompressedReference<mirror::Object>* const root = roots[i]; member in class:art::gc::collector::mirror
[all...]
/art/runtime/verifier/
H A Dreg_type_cache.cc710 GcRoot<mirror::Class>& root = pair.first; local
711 root.VisitRoot(visitor, root_info);
/art/runtime/arch/
H A Dstub_test.cc2099 GcRoot<mirror::Class>& root = mirror::String::java_lang_String_; local
2100 size_t result = Invoke3(reinterpret_cast<size_t>(&root), 0U, 0U, readBarrierForRootSlow, self);
/art/test/913-heaps/src/art/
H A DTest913.java397 private void doFollowReferencesTestImpl(A root, int stopAfter, int followSet, argument
400 followReferences(heapFilter, klass, root, stopAfter, followSet, asRoot);
566 return referrer.startsWith("root@");
601 System.out.println("ERROR: Late root " + l);
629 // Sort (root order is not specified) and print the roots.
676 // For a root src, just enable the referree.
689 // Now just sort the non-root lines and output them
699 return ref.startsWith("root@");
/art/compiler/optimizing/
H A Dcode_generator_mips64.cc895 // Slow path generating a read barrier for a GC root.
898 ReadBarrierForRootSlowPathMIPS64(HInstruction* instruction, Location out, Location root) argument
899 : SlowPathCodeMIPS64(instruction), out_(out), root_(root) {
910 << "Unexpected instruction in read barrier for GC root slow path: "
5041 Location root,
5049 GpuRegister root_reg = root.AsRegister<GpuRegister>();
5057 // to decide whether to mark the loaded GC root or not. Instead, we
5067 // GcRoot<mirror::Object> root = *(obj+offset); // Original reference load.
5070 // root = temp(root)
[all...]
H A Dcode_generator_arm64.cc1292 // Slow path generating a read barrier for a GC root.
1295 ReadBarrierForRootSlowPathARM64(HInstruction* instruction, Location out, Location root) argument
1296 : SlowPathCodeARM64(instruction), out_(out), root_(root) {
1306 << "Unexpected instruction in read barrier for GC root slow path: "
5910 Location root,
5916 Register root_reg = RegisterFrom(root, DataType::Type::kReference);
5926 // the slow path to mark the GC root.
5932 // GcRoot<mirror::Object> root = *(obj+offset); // Original reference load.
5953 "GC root LDR must be 2 instruction (8B) before the return address label.");
5961 // the slow path to mark the GC root
[all...]
H A Dcode_generator_arm_vixl.cc1403 // Slow path generating a read barrier for a GC root.
1406 ReadBarrierForRootSlowPathARMVIXL(HInstruction* instruction, Location out, Location root) argument
1407 : SlowPathCodeARMVIXL(instruction), out_(out), root_(root) {
1417 << "Unexpected instruction in read barrier for GC root slow path: "
8335 Location root,
8339 vixl32::Register root_reg = RegisterFrom(root);
8349 // the slow path to mark the GC root.
8355 // GcRoot<mirror::Object> root = *(obj+offset); // Original reference load.
8385 // the slow path to mark the GC root.
8387 // GcRoot<mirror::Object> root
8333 GenerateGcRootFieldLoad( HInstruction* instruction, Location root, vixl32::Register obj, uint32_t offset, ReadBarrierOption read_barrier_option) argument
8830 GenerateReadBarrierForRootSlow(HInstruction* instruction, Location out, Location root) argument
[all...]

Completed in 9409 milliseconds

12