Searched refs:root (Results 1 - 25 of 62) sorted by relevance

123

/art/runtime/
H A Dgc_root.h109 // Single root version, not overridable.
110 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info)
112 VisitRoots(&root, 1, info);
115 // Single root version, not overridable.
116 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info)
118 if (*root != nullptr) {
119 VisitRoot(root, info);
150 virtual void VisitRoot(mirror::Object* root, const RootInfo& info) = 0;
230 // Simple data structure for buffered root visiting to avoid virtual dispatch overhead. Currently
245 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root)
[all...]
H A Dclass_table-inl.h33 for (GcRoot<mirror::Object>& root : strong_roots_) {
34 visitor.VisitRoot(root.AddressWithoutBarrier());
37 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) {
38 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier());
51 for (GcRoot<mirror::Object>& root : strong_roots_) {
52 visitor.VisitRoot(root.AddressWithoutBarrier());
55 for (GcRoot<mirror::Object>& root : oat_file->GetBssGcRoots()) {
56 visitor.VisitRootIfNonNull(root.AddressWithoutBarrier());
105 GcRoot<mirror::Class> root(before_ptr);
106 visitor.VisitRoot(root
[all...]
H A Dreference_table.cc213 for (GcRoot<mirror::Object>& root : entries) {
214 if (!root.IsNull() && !runtime->IsClearedJniWeakGlobal(root.Read())) {
215 sorted_entries.push_back(root);
225 GcRoot<mirror::Object> root; member in class:art::SummaryElement
231 root = ref.root;
239 root = _root;
248 for (GcRoot<mirror::Object>& root : sorted_entries) {
249 ObjPtr<mirror::Object> current = root
[all...]
H A Dclass_table_test.cc39 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) const
41 if (!root.IsNull()) {
42 VisitRoot(root);
47 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) const
49 if (!root->IsNull()) {
50 VisitRoot(root);
55 void VisitRoot(GcRoot<MirrorType>& root) const REQUIRES_SHARED(Locks::mutator_lock_) {
56 VisitRoot(root.AddressWithoutBarrier());
60 void VisitRoot(mirror::CompressedReference<MirrorType>* root) const
62 roots_.insert(root
[all...]
H A Dread_barrier-inl.h100 inline MirrorType* ReadBarrier::BarrierForRoot(MirrorType** root, argument
102 MirrorType* ref = *root;
131 Atomic<mirror::Object*>* atomic_root = reinterpret_cast<Atomic<mirror::Object*>*>(root);
148 inline MirrorType* ReadBarrier::BarrierForRoot(mirror::CompressedReference<MirrorType>* root, argument
150 MirrorType* ref = root->AsMirrorPtr();
174 reinterpret_cast<Atomic<mirror::CompressedReference<MirrorType>>*>(root);
H A Dread_barrier.h53 // It's up to the implementation whether the given root gets updated
56 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root,
60 // It's up to the implementation whether the given root gets updated
63 ALWAYS_INLINE static MirrorType* BarrierForRoot(mirror::CompressedReference<MirrorType>* root,
H A Dcommon_runtime_test.cc227 std::string root; local
230 root += android_build_top;
235 root += cwd;
239 root += "/out/host/linux-x86";
241 root += "/out/host/darwin-x86";
245 setenv("ANDROID_ROOT", root.c_str(), 1);
290 std::string root; local
293 root = android_build_top;
298 root = cwd;
302 std::string toolsdir = root
[all...]
H A Dclass_table.cc95 for (const TableSlot& root : set) {
96 if (root.Read()->GetClassLoader() == defining_loader) {
231 for (GcRoot<mirror::Object>& root : strong_roots_) {
232 if (root.Read() == obj) {
269 for (const TableSlot& root : class_set) {
270 combined.Insert(root);
H A Dintern_table.cc65 for (auto& root : new_strong_intern_roots_) {
66 ObjPtr<mirror::String> old_ref = root.Read<kWithoutReadBarrier>();
67 root.VisitRoot(visitor, RootInfo(kRootInternedString));
68 ObjPtr<mirror::String> new_ref = root.Read<kWithoutReadBarrier>();
70 // The GC moved a root in the log. Need to search the strong interns and update the
318 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) const {
324 static_cast<uint32_t>(root.Read<kWithoutReadBarrier>()->GetHashCode()));
/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/gc/accounting/
H A Dremembered_set.cc91 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
93 if (!root->IsNull()) {
94 VisitRoot(root);
98 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
100 if (target_space_->HasAddress(root->AsMirrorPtr())) {
102 root->Assign(collector_->MarkObject(root->AsMirrorPtr()));
103 DCHECK(!target_space_->HasAddress(root->AsMirrorPtr()));
H A Dmod_union_table.cc106 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
108 VisitRoot(root);
111 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
113 MarkReference(root);
152 void operator()(mirror::Object* root) const
155 DCHECK(root != nullptr);
160 root->VisitReferences(ref_visitor, VoidFunctor());
207 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
209 if (!root->IsNull()) {
210 VisitRoot(root);
[all...]
/art/tools/
H A Dsetup-buildbot-device.sh20 # Setup as root, as the next buildbot step (device cleanup) requires it.
22 adb root
81 adb wait-for-device root
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc308 mirror::Object** root = roots[i]; local
309 mirror::Object* ref = *root;
313 *root = to_ref;
324 mirror::CompressedReference<mirror::Object>* const root = roots[i]; member in class:art::gc::collector::ConcurrentCopying::ThreadFlipVisitor::mirror
325 if (!root->IsNull()) {
326 mirror::Object* ref = root->AsMirrorPtr();
329 root->Assign(to_ref);
409 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
412 if (!root->IsNull()) {
413 VisitRoot(root);
1772 LOG(FATAL_WITHOUT_ABORT) << "root=" << root << " ref=" << *root; local
1989 mirror::Object** root = roots[i]; local
2008 MarkRoot(mirror::CompressedReference<mirror::Object>* root) argument
2030 mirror::CompressedReference<mirror::Object>* const root = roots[i]; member in class:art::gc::collector::mirror
[all...]
H A Dmark_compact.cc401 // Marks all objects in the root set.
434 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
436 if (!root->IsNull()) {
437 VisitRoot(root); variable
441 void VisitRoot(mirror::CompressedReference<mirror::Object>* root) const
443 root->Assign(collector_->GetMarkedForwardAddress(root->AsMirrorPtr()));
583 void VisitRootIfNonNull(mirror::CompressedReference<mirror::Object>* root) const
585 if (!root->IsNull()) {
586 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 Dmark_sweep.cc191 // Re-mark root set.
224 // The checkpoint root marking is required to avoid a race condition which occurs if the
460 oss << "Attempting see if it's a bad thread root" << std::endl;
555 void VisitRoot(mirror::Object* root, const RootInfo& info) OVERRIDE
557 CHECK(collector_->IsMarked(root) != nullptr) << info.ToString();
584 void VisitRoot(mirror::Object* root, const RootInfo& info) OVERRIDE
586 // See if the root is on any space bitmap.
588 if (heap->GetLiveBitmap()->GetContinuousSpaceBitmap(root) == nullptr) {
590 if (large_object_space != nullptr && !large_object_space->Contains(root)) {
591 os_ << "Found invalid root
[all...]
/art/tools/checker/
H A Dchecker.py78 for root, dirs, files in os.walk(path):
82 foundFiles.append(os.path.join(root, file))
/art/oatdump/
H A Doatdump_test.cc55 std::string root = GetTestAndroidRoot(); local
56 root += "/bin/oatdump";
58 root += "d";
61 root += "s";
63 return root;
124 // We must set --android-root.
/art/build/
H A DAndroid.cpplint.mk21 ART_CPPLINT_FLAGS := --quiet --root=$(ANDROID_BUILD_TOP)
/art/test/utils/python/
H A Dgenerate_java_main.py285 root = ET.fromstring(xml)
286 for iface in root.find("interfaces"):
294 for clazz in root.find('classes'):
/art/tools/ahat/src/heapdump/
H A DAhatSnapshot.java162 for (RootObj root : snapshot.getGCRoots()) {
163 Instance inst = root.getReferredInstance();
165 findInstance(inst.getId()).addRootType(root.getRootType().toString());
245 * Returns the root site for this snapshot.
252 // Returns the root site if no such site found.
/art/
H A DAndroid.mk56 adb root
108 (adb root && \
114 adb wait-for-device root && \
424 adb root
431 adb root
438 adb root
445 adb root
456 adb root
467 adb root
478 adb root
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_entrypoints.h106 extern "C" mirror::Object* artReadBarrierForRootSlow(GcRoot<mirror::Object>* root)
/art/tools/ahat/src/
H A DObjectHandler.java253 // Add a dummy PathElement as a marker for the root.
254 final PathElement root = new PathElement(null, null);
255 path.add(0, root);
263 if (element == root) {
279 if (element == root) {

Completed in 7671 milliseconds

123