Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 13 of 13) sorted by relevance

/art/test/1922-owned-monitors-info/
Downed_monitors.cc84 jvmtiCapabilities caps; in Java_art_Test1922_setupTest() local
85 memset(&caps, 0, sizeof(caps)); in Java_art_Test1922_setupTest()
86 caps.can_get_owned_monitor_info = 1; in Java_art_Test1922_setupTest()
87 caps.can_get_owned_monitor_stack_depth_info = 1; in Java_art_Test1922_setupTest()
88 JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps)); in Java_art_Test1922_setupTest()
/art/test/ti-agent/
Dframe_pop_helper.cc87 jvmtiCapabilities caps; in Java_art_FramePop_enableFramePopEvent() local
88 memset(&caps, 0, sizeof(caps)); in Java_art_FramePop_enableFramePopEvent()
89 caps.can_generate_frame_pop_events = 1; in Java_art_FramePop_enableFramePopEvent()
90 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps))) { in Java_art_FramePop_enableFramePopEvent()
Djvmti_helper.cc99 jvmtiCapabilities caps = GetStandardCapabilities(); in SetStandardCapabilities() local
100 CheckJvmtiError(env, env->AddCapabilities(&caps)); in SetStandardCapabilities()
104 jvmtiCapabilities caps; in SetAllCapabilities() local
105 CheckJvmtiError(env, env->GetPotentialCapabilities(&caps)); in SetAllCapabilities()
106 CheckJvmtiError(env, env->AddCapabilities(&caps)); in SetAllCapabilities()
Dredefinition_helper.cc316 jvmtiCapabilities caps; in Java_art_Redefinition_doCommonClassRetransformation() local
317 jvmtiError caps_err = jvmti_env->GetCapabilities(&caps); in Java_art_Redefinition_doCommonClassRetransformation()
327 if (caps.can_retransform_classes != 1) { in Java_art_Redefinition_doCommonClassRetransformation()
340 if (caps.can_retransform_classes != 1) { in Java_art_Redefinition_doCommonClassRetransformation()
376 jvmtiCapabilities caps = GetStandardCapabilities(); in SetupCommonRedefine() local
377 caps.can_retransform_classes = 0; in SetupCommonRedefine()
378 caps.can_retransform_any_class = 0; in SetupCommonRedefine()
379 jvmti_env->AddCapabilities(&caps); in SetupCommonRedefine()
392 jvmtiCapabilities caps = GetStandardCapabilities(); in SetupCommonTransform() local
393 caps.can_retransform_classes = 0; in SetupCommonTransform()
[all …]
Dexceptions_helper.cc122 jvmtiCapabilities caps; in Java_art_Exceptions_setupExceptionTracing() local
123 memset(&caps, 0, sizeof(caps)); in Java_art_Exceptions_setupExceptionTracing()
124 caps.can_generate_exception_events = 1; in Java_art_Exceptions_setupExceptionTracing()
125 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps))) { in Java_art_Exceptions_setupExceptionTracing()
Dmonitors_helper.cc157 jvmtiCapabilities caps; in Java_art_Monitors_setupMonitorEvents() local
158 memset(&caps, 0, sizeof(caps)); in Java_art_Monitors_setupMonitorEvents()
159 caps.can_generate_monitor_events = 1; in Java_art_Monitors_setupMonitorEvents()
160 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps))) { in Java_art_Monitors_setupMonitorEvents()
Dlocals_helper.cc38 jvmtiCapabilities caps; in Java_art_Locals_EnableLocalVariableAccess() local
39 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetCapabilities(&caps))) { in Java_art_Locals_EnableLocalVariableAccess()
42 caps.can_access_local_variables = 1; in Java_art_Locals_EnableLocalVariableAccess()
43 JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps)); in Java_art_Locals_EnableLocalVariableAccess()
/art/openjdkjvmti/
Devents-inl.h550 const jvmtiCapabilities& caps, in NeedsEventUpdate() argument
554 return (added && caps.can_access_local_variables == 1) || in NeedsEventUpdate()
555 caps.can_generate_breakpoint_events == 1 || in NeedsEventUpdate()
556 (caps.can_retransform_classes == 1 && in NeedsEventUpdate()
562 const jvmtiCapabilities& caps, in HandleChangedCapabilities() argument
564 if (UNLIKELY(NeedsEventUpdate(env, caps, added))) { in HandleChangedCapabilities()
565 env->event_masks.HandleChangedCapabilities(caps, added); in HandleChangedCapabilities()
566 if (caps.can_retransform_classes == 1) { in HandleChangedCapabilities()
570 if (added && caps.can_access_local_variables == 1) { in HandleChangedCapabilities()
573 if (caps.can_generate_breakpoint_events == 1) { in HandleChangedCapabilities()
Devents.cc169 void EventMasks::HandleChangedCapabilities(const jvmtiCapabilities& caps, bool caps_added) { in HandleChangedCapabilities() argument
170 if (UNLIKELY(caps.can_retransform_classes == 1)) { in HandleChangedCapabilities()
1054 jvmtiCapabilities caps = env->capabilities; in HasAssociatedCapability() local
1057 return caps.can_generate_breakpoint_events == 1; in HasAssociatedCapability()
1061 return caps.can_generate_compiled_method_load_events == 1; in HasAssociatedCapability()
1065 return caps.can_generate_exception_events == 1; in HasAssociatedCapability()
1068 return caps.can_generate_field_access_events == 1; in HasAssociatedCapability()
1071 return caps.can_generate_field_modification_events == 1; in HasAssociatedCapability()
1074 return caps.can_generate_frame_pop_events == 1; in HasAssociatedCapability()
1078 return caps.can_generate_garbage_collection_events == 1; in HasAssociatedCapability()
[all …]
Devents.h169 void HandleChangedCapabilities(const jvmtiCapabilities& caps, bool caps_added);
228 const jvmtiCapabilities& caps,
279 const jvmtiCapabilities& caps,
/art/tools/titrace/
Dtitrace.cc263 jvmtiCapabilities caps = {}; in Agent_OnLoad() local
264 caps.can_generate_single_step_events = 1; in Agent_OnLoad()
265 caps.can_get_bytecodes = 1; in Agent_OnLoad()
267 error = jvmti->AddCapabilities(&caps); in Agent_OnLoad()
/art/tools/breakpoint-logger/
Dbreakpoint_logger.cc386 jvmtiCapabilities caps{}; in AgentStart() local
387 caps.can_generate_breakpoint_events = JNI_TRUE; in AgentStart()
388 caps.can_get_line_numbers = JNI_TRUE; in AgentStart()
389 caps.can_get_source_file_name = JNI_TRUE; in AgentStart()
390 caps.can_get_source_debug_extension = JNI_TRUE; in AgentStart()
391 error = jvmti->AddCapabilities(&caps); in AgentStart()
/art/test/ti-stress/
Dstress.cc795 jvmtiCapabilities caps = { in Agent_OnLoad() local
838 jvmti->AddCapabilities(&caps); in Agent_OnLoad()