/art/test/906-iterate-heap/ |
D | expected.txt | 1 …tag=1, class-tag=0, size=8, length=-1}, {tag=2, class-tag=100, size=8, length=-1}, {tag=3, class-t… 2 …tag=11, class-tag=0, size=8, length=-1}, {tag=12, class-tag=110, size=8, length=-1}, {tag=13, clas…
|
D | iterate_heap.cc | 181 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/ |
D | expected_jack.diff | 2 < 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 …]
|
D | expected.txt | 3 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/ |
D | agent_common.cc | 28 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/ |
D | Log.java | 36 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/ |
D | Test903.java | 76 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()
|
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|
/art/runtime/base/ |
D | allocator.h | 70 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()
|
D | logging.cc | 157 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/ |
D | tracking_free.cc | 40 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/ |
D | Test906.java | 216 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 …]
|
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|
/art/runtime/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 89 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 …]
|
D | jvmti_weak_table.h | 63 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)
|
D | object_tagging.h | 53 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;
|
D | object_tagging.cc | 63 void ObjectTagTable::HandleNullSweep(jlong tag) { in HandleNullSweep() argument 64 event_handler_->DispatchEvent<ArtJvmtiEvent::kObjectFree>(jvmti_env_, nullptr, tag); in HandleNullSweep()
|
D | ti_heap.cc | 622 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/ |
D | Test905.java | 94 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
|
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|
/art/test/903-hello-tagging/ |
D | tagging.cc | 124 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/ |
D | debug_abbrev_writer.h | 51 void StartAbbrev(Tag tag) { in StartAbbrev() argument 53 EncodeUnsignedLeb128(¤t_abbrev_, tag); in StartAbbrev()
|
/art/test/913-heaps/src/art/ |
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|
/art/test/1900-track-alloc/src/art/ |
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|
/art/test/1909-per-agent-tls/src/art/ |
D | Main.java | 30 public static native void setTag(Object o, long tag); in setTag() argument
|