Home
last modified time | relevance | path

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

123

/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…
/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/test/913-heaps/
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
5 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
46 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
48 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
50 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= …
51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 2…
52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
[all …]
/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/905-object-free/
Dtracking_free.cc46 static void JNICALL ObjectFree1(jvmtiEnv* ti_env, jlong tag) { in ObjectFree1() argument
49 collected_tags1.push_back(tag); in ObjectFree1()
52 static void JNICALL ObjectFree2(jvmtiEnv* ti_env, jlong tag) { in ObjectFree2() argument
55 collected_tags2.push_back(tag); in ObjectFree2()
109 jlong tag; in Java_art_Test905_getTag2() local
110 jvmtiError ret = jvmti_env2->GetTag(obj, &tag); in Java_art_Test905_getTag2()
112 return tag; in Java_art_Test905_getTag2()
116 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong tag) { in Java_art_Test905_setTag2() argument
117 jvmtiError ret = jvmti_env2->SetTag(obj, tag); in Java_art_Test905_setTag2()
/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/libartbase/base/
Dallocator.h70 std::ostream& operator<<(std::ostream& os, AllocatorTag tag);
88 inline void RegisterAllocation(AllocatorTag tag, size_t bytes) { in RegisterAllocation() argument
89 g_total_bytes_used[tag].fetch_add(bytes, std::memory_order_relaxed); in RegisterAllocation()
90 size_t new_bytes = g_bytes_used[tag].fetch_add(bytes, std::memory_order_relaxed) + bytes; in RegisterAllocation()
91 size_t max_bytes = g_max_bytes_used[tag].load(std::memory_order_relaxed); in RegisterAllocation()
93 && !g_max_bytes_used[tag].compare_exchange_weak(max_bytes /* updated */, new_bytes, in RegisterAllocation()
98 inline void RegisterFree(AllocatorTag tag, size_t bytes) { in RegisterFree() argument
99 g_bytes_used[tag].fetch_sub(bytes, std::memory_order_relaxed); in RegisterFree()
Dlogging.cc95 const char* tag, in InitLogging() argument
101 logd_logger_(id, severity, tag, file, line, message); in InitLogging()
131 const char* tag = ProgramInvocationShortName(); in LogLineLowStack() local
144 android_writeLog(priority, tag, buf); in LogLineLowStack()
147 android_writeLog(priority, tag, message); in LogLineLowStack()
/art/openjdkjvmti/
Dobject_tagging.cc69 void ObjectTagTable::SendSingleFreeEvent(jlong tag) { in SendSingleFreeEvent() argument
71 jvmti_env_, art::Thread::Current(), tag); in SendSingleFreeEvent()
94 void ObjectTagTable::HandleNullSweep(jlong tag) { in HandleNullSweep() argument
96 null_tags_.push_back(tag); in HandleNullSweep()
Dobject_tagging.h64 bool Set(art::ObjPtr<art::mirror::Object> obj, jlong tag) override
67 bool SetLocked(art::ObjPtr<art::mirror::Object> obj, jlong tag) override
88 void HandleNullSweep(jlong tag) override;
95 void SendSingleFreeEvent(jlong tag)
Djvmti_weak_table-inl.h90 bool JvmtiWeakTable<T>::Remove(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag) { in Remove() argument
95 return RemoveLocked(self, obj, tag); in Remove()
98 bool JvmtiWeakTable<T>::RemoveLocked(art::ObjPtr<art::mirror::Object> obj, T* tag) { in RemoveLocked() argument
103 return RemoveLocked(self, obj, tag); in RemoveLocked()
107 … JvmtiWeakTable<T>::RemoveLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, T* tag) { in RemoveLocked() argument
110 if (tag != nullptr) { in RemoveLocked()
111 *tag = it->second; in RemoveLocked()
127 return RemoveLocked(self, obj, tag); in RemoveLocked()
229 T tag = it->second; in UpdateTableWith() local
232 tagged_objects_.emplace(art::GcRoot<art::mirror::Object>(target_obj), tag); in UpdateTableWith()
[all …]
Djvmti_weak_table.h63 ALWAYS_INLINE bool Remove(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
66 ALWAYS_INLINE bool RemoveLocked(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
72 ALWAYS_INLINE virtual bool Set(art::ObjPtr<art::mirror::Object> obj, T tag)
75 ALWAYS_INLINE virtual bool SetLocked(art::ObjPtr<art::mirror::Object> obj, T tag)
121 ALWAYS_INLINE art::ObjPtr<art::mirror::Object> Find(T tag)
131 virtual void HandleNullSweep(T tag ATTRIBUTE_UNUSED) {} in HandleNullSweep()
135 bool SetLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, T tag)
140 bool RemoveLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
Dti_logging.h63 const char* tag, in JvmtiLogMessage() argument
66 real_log_(file, line, severity, tag, error), in JvmtiLogMessage()
/art/tools/ahat/etc/
Dhprofdump.py147 tag = readu1(hprof) variable
150 if tag == 0x01:
155 elif tag == 0x02:
163 elif tag == 0x04:
171 elif tag == 0x05:
177 elif tag == 0x06:
195 elif tag == 0x0A:
203 elif tag == 0x0B:
206 elif tag == 0x0C or tag == 0x1C:
207 if tag == 0x0C:
[all …]
/art/test/906-iterate-heap/src/art/
DTest906.java292 long tag; field in Test906.HeapElem
296 if (tag != other.tag) { in compareTo()
297 return Long.compare(tag, other.tag); in compareTo()
309 return "{tag=" + tag + ", class-tag=" + classTag + ", size=" + in toString()
310 (tag >= 100 ? "<class>" : size) // Class size is dependent on 32-bit vs 64-bit, in toString()
323 elem.tag = tags[i]; in sort()
361 private static void setTag(Object o, long tag) { in setTag() argument
362 Main.setTag(o, tag); in setTag()
377 private static native String iterateThroughHeapString(long tag); in iterateThroughHeapString() argument
378 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/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/tools/hiddenapi/
Dfind_api_violations.pl108 my ($pid, $tid, $class, $tag, $msg) = ($1, $2, $3, $4, $5);
109 if ($tag eq "ActivityManager" && $msg =~ m/^Start proc (\d+):(.*?) for /) {
/art/test/901-hello-ti-agent/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/jvmti-common/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/1919-vminit-thread-start-timing/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument
/art/test/905-object-free/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/913-heaps/src/art/
DMain.java30 public static native void setTag(Object o, long tag); in setTag() argument

123