Home
last modified time | relevance | path

Searched refs:heap_id (Results 1 – 7 of 7) sorted by relevance

/art/runtime/javaheapprof/
Djavaheapsampler.h45 void SetHeapID(uint32_t heap_id) { in SetHeapID() argument
46 perfetto_heap_id_ = heap_id; in SetHeapID()
/art/openjdkjvmti/
Dti_heap.h83 static jvmtiError JNICALL GetObjectHeapId(jvmtiEnv* env, jlong tag, jint* heap_id, ...);
84 static jvmtiError JNICALL GetHeapName(jvmtiEnv* env, jint heap_id, char** heap_name, ...);
Dti_heap.cc1516 jvmtiError HeapExtensions::GetObjectHeapId(jvmtiEnv* env, jlong tag, jint* heap_id, ...) { in GetObjectHeapId() argument
1517 if (heap_id == nullptr) { in GetObjectHeapId()
1530 *heap_id = heap_type; in GetObjectHeapId()
1567 jvmtiError HeapExtensions::GetHeapName(jvmtiEnv* env, jint heap_id, char** heap_name, ...) { in GetHeapName() argument
1568 switch (heap_id) { in GetHeapName()
1601 jint heap_id = GetHeapId(obj); in IterateThroughHeapExt() local
1604 class_tag, size, tag, length, cb_user_data, heap_id); in IterateThroughHeapExt()
/art/test/913-heaps/
Dheaps.cc991 jint heap_id; in Java_art_Test913_getObjectHeapId() local
992 jvmtiError result = gGetObjectHeapIdFn(jvmti_env, tag, &heap_id); in Java_art_Test913_getObjectHeapId()
994 return heap_id; in Java_art_Test913_getObjectHeapId()
998 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jint heap_id) { in Java_art_Test913_getHeapName() argument
1001 jvmtiError result = gGetHeapNameFn(jvmti_env, heap_id, &heap_name); in Java_art_Test913_getHeapName()
1011 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jlong tag, jint heap_id) { in Java_art_Test913_checkGetObjectHeapIdInCallback() argument
1050 ffc.check_callback_id = heap_id; in Java_art_Test913_checkGetObjectHeapIdInCallback()
1089 ffc.check_callback_id = heap_id; in Java_art_Test913_checkGetObjectHeapIdInCallback()
1105 jint heap_id) { in HeapIterationExtCallback() argument
1112 CHECK_EQ(expected_heap_id, heap_id); in HeapIterationExtCallback()
/art/tools/jvmti-agents/list-extensions/
DREADME.md23 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:112] heap_id (OUT, JINT)
29 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:112] heap_id (IN, JINT)
/art/runtime/
Ddebugger.cc720 uint8_t heap_id[4]; in DdmSendHeapSegments() local
721 Set4BE(&heap_id[0], 1); // Heap id (bogus; we only have one heap). in DdmSendHeapSegments()
723 ArrayRef<const uint8_t>(heap_id)); in DdmSendHeapSegments()
783 ArrayRef<const uint8_t>(heap_id)); in DdmSendHeapSegments()
/art/runtime/gc/
Dheap.cc4155 uint32_t heap_id = 1; // Initialize to 1, to be overwritten by Perfetto heap id. in InitPerfettoJavaHeapProf() local
4164 heap_id = AHeapProfile_registerHeap(info); in InitPerfettoJavaHeapProf()
4172 heap_sampler_.SetHeapID(heap_id); in InitPerfettoJavaHeapProf()