Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 42) sorted by relevance

12

/art/test/906-iterate-heap/
Dexpected.txt1tag=1, class-tag=0, size=8, length=-1}, {tag=2, class-tag=100, size=8, length=-1}, {tag=3, class-t…
2tag=11, class-tag=0, size=8, length=-1}, {tag=12, class-tag=110, size=8, length=-1}, {tag=13, clas…
Diterate_heap.cc181 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jlong tag) { in Java_art_Test906_iterateThroughHeapString() argument
228 FindStringCallbacks fsc(tag); in Java_art_Test906_iterateThroughHeapString()
237 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jlong tag) { in Java_art_Test906_iterateThroughHeapPrimitiveArray() argument
316 FindArrayCallbacks fac(tag); in Java_art_Test906_iterateThroughHeapPrimitiveArray()
348 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jlong tag) { in Java_art_Test906_iterateThroughHeapPrimitiveFields() argument
403 FindFieldCallbacks ffc(tag); in Java_art_Test906_iterateThroughHeapPrimitiveFields()
/art/test/913-heaps/
Dexpected_jack.diff2 < root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
4 > root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
6 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location…
7 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
9 > root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=13,location…
10 > root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
12 < root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
14 > root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
16 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location…
17 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
[all …]
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locatio…
5 root@root --(stack-local[id=1,tag=3000,depth=3,method=doFollowReferencesTest,vreg=1,location= 28])-…
6 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=136,…
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
48 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location= …
50 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 1…
52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=136,…
[all …]
/art/test/ti-agent/
Dagent_common.cc28 JNIEnv* env, jclass, jobject obj, jlong tag) { in Java_art_Main_setTag() argument
29 jvmtiError ret = jvmti_env->SetTag(obj, tag); in Java_art_Main_setTag()
34 jlong tag = 0; in Java_art_Main_getTag() local
35 jvmtiError ret = jvmti_env->GetTag(obj, &tag); in Java_art_Main_getTag()
39 return tag; in Java_art_Main_getTag()
/art/tools/dexfuzz/src/dexfuzz/
DLog.java36 public static void setLoggingLevel(LogTag tag) { in setLoggingLevel() argument
37 threshold = tag; in setLoggingLevel()
64 private static void log(LogTag tag, String msg) { in log() argument
65 if (tag.ordinal() >= threshold.ordinal()) { in log()
66 System.out.println("[" + tag.toString() + "] " + msg); in log()
/art/test/903-hello-tagging/src/art/
DTest903.java76 long tag = Main.getTag(o); in checkTag() local
77 if (expectedTag != tag) { in checkTag()
78 throw new RuntimeException("Unexpected tag " + tag + ", expected " + expectedTag); in checkTag()
135 long tag; field in Test903.Pair
138 tag = t; in Pair()
142 if (tag != p.tag) { in compareTo()
143 return Long.compare(tag, p.tag); in compareTo()
170 return "<" + obj + ";" + tag + ">"; in toString()
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/runtime/base/
Dallocator.h70 std::ostream& operator<<(std::ostream& os, const AllocatorTag& tag);
86 inline void RegisterAllocation(AllocatorTag tag, size_t bytes) { in RegisterAllocation() argument
87 g_total_bytes_used[tag].FetchAndAddSequentiallyConsistent(bytes); in RegisterAllocation()
88 size_t new_bytes = g_bytes_used[tag].FetchAndAddSequentiallyConsistent(bytes) + bytes; in RegisterAllocation()
89 if (g_max_bytes_used[tag] < new_bytes) { in RegisterAllocation()
90 g_max_bytes_used[tag] = new_bytes; in RegisterAllocation()
94 inline void RegisterFree(AllocatorTag tag, size_t bytes) { in RegisterFree() argument
95 g_bytes_used[tag].FetchAndSubSequentiallyConsistent(bytes); in RegisterFree()
Dlogging.cc157 const char* tag = ProgramInvocationShortName(); in LogLineLowStack() local
170 android_writeLog(priority, tag, buf); in LogLineLowStack()
173 android_writeLog(priority, tag, message); in LogLineLowStack()
/art/test/905-object-free/
Dtracking_free.cc40 static void JNICALL ObjectFree1(jvmtiEnv* ti_env, jlong tag) { in ObjectFree1() argument
42 collected_tags1.push_back(tag); in ObjectFree1()
45 static void JNICALL ObjectFree2(jvmtiEnv* ti_env, jlong tag) { in ObjectFree2() argument
47 collected_tags2.push_back(tag); in ObjectFree2()
99 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong tag) { in Java_art_Test905_setTag2() argument
100 jvmtiError ret = jvmti_env2->SetTag(obj, tag); in Java_art_Test905_setTag2()
/art/test/906-iterate-heap/src/art/
DTest906.java216 long tag; field in Test906.HeapElem
220 if (tag != other.tag) { in compareTo()
221 return Long.compare(tag, other.tag); in compareTo()
233 return "{tag=" + tag + ", class-tag=" + classTag + ", size=" + in toString()
234 (tag >= 100 ? "<class>" : size) // Class size is dependent on 32-bit vs 64-bit, in toString()
247 elem.tag = tags[i]; in sort()
285 private static void setTag(Object o, long tag) { in setTag() argument
286 Main.setTag(o, tag); in setTag()
299 private static native String iterateThroughHeapString(long tag); in iterateThroughHeapString() argument
300 private static native String iterateThroughHeapPrimitiveArray(long tag); in iterateThroughHeapPrimitiveArray() argument
[all …]
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/runtime/openjdkjvmti/
Djvmti_weak_table-inl.h89 bool JvmtiWeakTable<T>::Remove(art::mirror::Object* obj, /* out */ T* tag) { in Remove() argument
94 return RemoveLocked(self, obj, tag); in Remove()
97 bool JvmtiWeakTable<T>::RemoveLocked(art::mirror::Object* obj, T* tag) { in RemoveLocked() argument
102 return RemoveLocked(self, obj, tag); in RemoveLocked()
106 bool JvmtiWeakTable<T>::RemoveLocked(art::Thread* self, art::mirror::Object* obj, T* tag) { in RemoveLocked() argument
109 if (tag != nullptr) { in RemoveLocked()
110 *tag = it->second; in RemoveLocked()
126 return RemoveLocked(self, obj, tag); in RemoveLocked()
228 T tag = it->second; in UpdateTableWith() local
231 tagged_objects_.emplace(art::GcRoot<art::mirror::Object>(target_obj), tag); in UpdateTableWith()
[all …]
Djvmti_weak_table.h63 ALWAYS_INLINE bool Remove(art::mirror::Object* obj, /* out */ T* tag)
66 ALWAYS_INLINE bool RemoveLocked(art::mirror::Object* obj, /* out */ T* tag)
72 ALWAYS_INLINE virtual bool Set(art::mirror::Object* obj, T tag)
75 ALWAYS_INLINE virtual bool SetLocked(art::mirror::Object* obj, T tag)
121 ALWAYS_INLINE art::mirror::Object* Find(T tag)
131 virtual void HandleNullSweep(T tag ATTRIBUTE_UNUSED) {} in HandleNullSweep()
135 bool SetLocked(art::Thread* self, art::mirror::Object* obj, T tag)
140 bool RemoveLocked(art::Thread* self, art::mirror::Object* obj, /* out */ T* tag)
Dobject_tagging.h53 bool Set(art::mirror::Object* obj, jlong tag) OVERRIDE
56 bool SetLocked(art::mirror::Object* obj, jlong tag) OVERRIDE
77 void HandleNullSweep(jlong tag) OVERRIDE;
Dobject_tagging.cc63 void ObjectTagTable::HandleNullSweep(jlong tag) { in HandleNullSweep() argument
64 event_handler_->DispatchEvent<ArtJvmtiEvent::kObjectFree>(jvmti_env_, nullptr, tag); in HandleNullSweep()
Dti_heap.cc622 bool ShouldReportByHeapFilter(jlong tag, jlong class_tag) const { in ShouldReportByHeapFilter()
627 if ((tag == 0 && filter_out_untagged) || (tag != 0 && filter_out_tagged)) { in ShouldReportByHeapFilter()
682 jlong tag = 0; in DoIterateThroughHeap() local
683 tag_table->GetTag(obj, &tag); in DoIterateThroughHeap()
690 if (!heap_filter.ShouldReportByHeapFilter(tag, class_tag)) { in DoIterateThroughHeap()
707 jlong saved_tag = tag; in DoIterateThroughHeap()
708 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap()
710 if (tag != saved_tag) { in DoIterateThroughHeap()
711 tag_table->Set(obj, tag); in DoIterateThroughHeap()
744 jlong* tag, in IterateThroughHeap()
[all …]
/art/test/905-object-free/src/art/
DTest905.java94 private static void allocate(ArrayList<Object> l, long tag) { in allocate() argument
97 Main.setTag(obj, tag); in allocate()
109 private static native void setTag2(Object o, long tag); in setTag2() argument
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/903-hello-tagging/
Dtagging.cc124 static void SetTag(jvmtiEnv* env, jobject obj, jlong tag) { in SetTag() argument
125 jvmtiError ret = env->SetTag(obj, tag); in SetTag()
130 jlong tag; in GetTag() local
131 jvmtiError ret = env->GetTag(obj, &tag); in GetTag()
133 return tag; in GetTag()
/art/compiler/debug/dwarf/
Ddebug_abbrev_writer.h51 void StartAbbrev(Tag tag) { in StartAbbrev() argument
53 EncodeUnsignedLeb128(&current_abbrev_, tag); in StartAbbrev()
/art/test/913-heaps/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/1900-track-alloc/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/1909-per-agent-tls/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument

12