/art/test/933-misc-events/ |
D | misc_events.cc | 43 jvmtiEventCallbacks callbacks; in Java_art_Test933_testSigQuit() local 44 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test933_testSigQuit() 45 callbacks.DataDumpRequest = DumpRequestCallback; in Java_art_Test933_testSigQuit() 46 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test933_testSigQuit()
|
/art/test/908-gc-start-finish/ |
D | gc_callbacks.cc | 45 jvmtiEventCallbacks callbacks; in Java_art_Test908_setupGcCallback() local 46 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test908_setupGcCallback() 47 callbacks.GarbageCollectionFinish = GarbageCollectionFinish; in Java_art_Test908_setupGcCallback() 48 callbacks.GarbageCollectionStart = GarbageCollectionStart; in Java_art_Test908_setupGcCallback() 50 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test908_setupGcCallback()
|
/art/libelffile/elf/ |
D | xz_utils.cc | 79 XzCallbacks callbacks; in XzCompress() local 80 callbacks.Read = XzCallbacks::ReadImpl; in XzCompress() 81 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress() 82 callbacks.Progress = XzCallbacks::ProgressImpl; in XzCompress() 83 callbacks.src_pos_ = 0; in XzCompress() 84 callbacks.src_ = src; in XzCompress() 85 callbacks.dst_ = dst; in XzCompress() 87 SRes res = Xz_Encode(&callbacks, &callbacks, &props, &callbacks); in XzCompress()
|
/art/test/906-iterate-heap/ |
D | iterate_heap.cc | 60 jvmtiHeapCallbacks callbacks; in Run() local 61 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Run() 62 callbacks.heap_iteration_callback = HeapIterationCallback; in Run() 66 &callbacks, in Run() 223 jvmtiHeapCallbacks callbacks; in Java_art_Test906_iterateThroughHeapString() local 224 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Java_art_Test906_iterateThroughHeapString() 225 callbacks.heap_iteration_callback = FindStringCallbacks::HeapIterationCallback; in Java_art_Test906_iterateThroughHeapString() 226 callbacks.string_primitive_value_callback = FindStringCallbacks::StringValueCallback; in Java_art_Test906_iterateThroughHeapString() 229 jvmtiError ret = jvmti_env->IterateThroughHeap(0, nullptr, &callbacks, &fsc); in Java_art_Test906_iterateThroughHeapString() 311 jvmtiHeapCallbacks callbacks; in Java_art_Test906_iterateThroughHeapPrimitiveArray() local [all …]
|
/art/test/912-classes/ |
D | classes_art.cc | 56 jvmtiEventCallbacks callbacks; variable 57 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); 58 callbacks.ClassLoad = class_load; 59 callbacks.ClassPrepare = class_prepare; 60 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
D | classes.cc | 258 jvmtiEventCallbacks callbacks; variable 259 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); 260 callbacks.ClassLoad = class_load; 261 callbacks.ClassPrepare = class_prepare; 262 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
/art/test/913-heaps/ |
D | heaps.cc | 128 jvmtiHeapCallbacks callbacks; in Run() local 129 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Run() 130 callbacks.heap_reference_callback = HeapReferenceCallback; in Run() 135 &callbacks, in Run() 607 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesString() local 608 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Java_art_Test913_followReferencesString() 609 callbacks.heap_reference_callback = FindStringCallbacks::FollowReferencesCallback; in Java_art_Test913_followReferencesString() 610 callbacks.string_primitive_value_callback = FindStringCallbacks::StringValueCallback; in Java_art_Test913_followReferencesString() 613 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &fsc); in Java_art_Test913_followReferencesString() 708 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesPrimitiveArray() local [all …]
|
/art/test/901-hello-ti-agent/ |
D | basics.cc | 70 jvmtiEventCallbacks callbacks; in InstallVMEvents() local 71 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in InstallVMEvents() 72 callbacks.VMStart = VMStartCallback; in InstallVMEvents() 73 callbacks.VMInit = VMInitCallback; in InstallVMEvents() 74 callbacks.VMDeath = VMDeathCallback; in InstallVMEvents() 75 jvmtiError ret = env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in InstallVMEvents()
|
/art/test/905-object-free/ |
D | tracking_free.cc | 59 jvmtiEventCallbacks callbacks; in setupObjectFreeCallback() local 60 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in setupObjectFreeCallback() 61 callbacks.ObjectFree = callback; in setupObjectFreeCallback() 62 jvmtiError ret = jenv->SetEventCallbacks(&callbacks, sizeof(callbacks)); in setupObjectFreeCallback()
|
/art/openjdkjvmti/ |
D | ti_heap.h | 42 const jvmtiHeapCallbacks* callbacks, 49 const jvmtiHeapCallbacks* callbacks, 73 const jvmtiHeapCallbacks* callbacks,
|
D | ti_heap.cc | 726 const jvmtiHeapCallbacks* callbacks, in DoIterateThroughHeap() argument 728 if (callbacks == nullptr) { in DoIterateThroughHeap() 772 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap() 781 jint string_ret = ReportString(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 786 jint array_ret = ReportPrimitiveArray(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 791 stop_reports = ReportPrimitiveField::Report(obj, tag_table, callbacks, user_data); in DoIterateThroughHeap() 802 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() argument 823 callbacks, in IterateThroughHeap() 832 const jvmtiHeapCallbacks* callbacks, in FollowReferencesHelper() argument 839 callbacks_(callbacks), in FollowReferencesHelper() [all …]
|
D | deopt_manager.cc | 105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup() local 106 callbacks->AddMethodInspectionCallback(&inspection_callback_); in Setup() 113 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Shutdown() local 114 callbacks->RemoveMethodInspectionCallback(&inspection_callback_); in Shutdown()
|
/art/runtime/verifier/ |
D | class_verifier.cc | 48 CompilerCallbacks* callbacks, in VerifyClass() argument 74 if (callbacks != nullptr) { in VerifyClass() 76 callbacks->ClassRejected(ref); in VerifyClass() 88 callbacks, in VerifyClass() 100 CompilerCallbacks* callbacks, in VerifyClass() argument 151 callbacks, in VerifyClass()
|
D | class_verifier.h | 55 CompilerCallbacks* callbacks, 66 CompilerCallbacks* callbacks,
|
D | method_verifier.h | 227 CompilerCallbacks* callbacks, 245 CompilerCallbacks* callbacks,
|
/art/test/904-object-allocation/ |
D | tracking.cc | 106 jvmtiEventCallbacks callbacks; in Java_art_Test904_setupObjectAllocCallback() local 107 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test904_setupObjectAllocCallback() 108 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_art_Test904_setupObjectAllocCallback() 110 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test904_setupObjectAllocCallback()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 121 jvmtiEventCallbacks callbacks; in InstallVMEvents() local 122 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in InstallVMEvents() 123 callbacks.VMInit = VMInitCallback; in InstallVMEvents() 124 callbacks.ThreadStart = ThreadStartCallback; in InstallVMEvents() 125 jvmtiError ret = env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in InstallVMEvents()
|
/art/dex2oat/ |
D | common_compiler_driver_test.cc | 102 QuickCompilerCallbacks* callbacks = in SetUpRuntimeOptions() local 104 callbacks->SetVerificationResults(verification_results_.get()); in SetUpRuntimeOptions() 105 callbacks_.reset(callbacks); in SetUpRuntimeOptions()
|
/art/test/924-threads/ |
D | threads.cc | 241 jvmtiEventCallbacks callbacks; in Java_art_Test924_enableThreadEvents() local 242 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test924_enableThreadEvents() 243 callbacks.ThreadStart = ThreadStart; in Java_art_Test924_enableThreadEvents() 244 callbacks.ThreadEnd = ThreadEnd; in Java_art_Test924_enableThreadEvents() 245 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test924_enableThreadEvents()
|
/art/tools/jvmti-agents/titrace/ |
D | titrace.cc | 279 jvmtiEventCallbacks callbacks = {}; in Agent_OnLoad() local 280 callbacks.SingleStep = &EventCallbacks::SingleStep; in Agent_OnLoad() 281 callbacks.DataDumpRequest = &EventCallbacks::DataDumpRequest; in Agent_OnLoad() 283 error = jvmti->SetEventCallbacks(&callbacks, in Agent_OnLoad() 284 static_cast<jint>(sizeof(callbacks))); in Agent_OnLoad()
|
/art/runtime/ |
D | aot_class_linker.cc | 81 CompilerCallbacks* callbacks = runtime->GetCompilerCallbacks(); in PerformClassVerification() local 82 ClassStatus old_status = callbacks->GetPreviousClassState( in PerformClassVerification()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 397 jvmtiEventCallbacks callbacks{}; in AgentStart() local 398 callbacks.Breakpoint = &BreakpointCB; in AgentStart() 399 callbacks.VMInit = &VMInitCB; in AgentStart() 401 error = jvmti->SetEventCallbacks(&callbacks, static_cast<jint>(sizeof(callbacks))); in AgentStart()
|
/art/cmdline/ |
D | cmdline.h | 98 static NoopCompilerCallbacks callbacks; in StartRuntime() local 99 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime()
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 273 NoopCompilerCallbacks callbacks; in CreateRuntime() local 274 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in CreateRuntime()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1602 const jvmtiHeapCallbacks* callbacks, 1609 const jvmtiHeapCallbacks* callbacks, 1631 const jvmtiEventCallbacks* callbacks, 1974 const jvmtiHeapCallbacks* callbacks, in FollowReferences() 1976 …return functions->FollowReferences(this, heap_filter, klass, initial_object, callbacks, user_data); in FollowReferences() 1981 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() 1983 return functions->IterateThroughHeap(this, heap_filter, klass, callbacks, user_data); in IterateThroughHeap() 2392 jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks, in SetEventCallbacks() 2394 return functions->SetEventCallbacks(this, callbacks, size_of_callbacks); in SetEventCallbacks()
|