/art/test/1919-vminit-thread-start-timing/ |
H A D | vminit.cc | 39 std::string event; member in struct:art::Test1919VMInitThreadStart::EventData 52 printf("Failed to enable event"); 162 return env->NewStringUTF(list->events[i].event.c_str());
|
/art/openjdkjvmti/ |
H A D | events-inl.h | 88 // Infrastructure to achieve type safety for event dispatch. 202 // ClassFileLoadHook event types is the same, so use this helper for code deduplication. 216 kEvent == ArtJvmtiEvent::kClassFileLoadHookNonRetransformable, "Unsupported event"); 232 for (const impl::EventHandlerFunc<kEvent>& event : handlers) { 235 ExecuteCallback<kEvent>(event, 253 last_env = event.env_; 276 for (auto event : events) { 277 ExecuteCallback<kEvent>(event, args...); 287 for (auto event : events) { 288 ExecuteCallback<kEvent>(event, jnien 411 ExecuteCallback( impl::EventHandlerFunc<ArtJvmtiEvent::kFramePop> event, JNIEnv* jnienv, jthread jni_thread, jmethodID jmethod, jboolean is_exception, const art::ShadowFrame* frame ATTRIBUTE_UNUSED) argument 529 RecalculateGlobalEventMask(ArtJvmtiEvent event) argument 534 RecalculateGlobalEventMaskLocked(ArtJvmtiEvent event) argument 552 ArtJvmtiEvent event = added ? ArtJvmtiEvent::kClassFileLoadHookNonRetransformable local [all...] |
H A D | events.h | 119 static bool EventIsInRange(ArtJvmtiEvent event) { argument 120 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; 123 void Set(ArtJvmtiEvent event, bool value = true) { argument 124 DCHECK(EventIsInRange(event)); 125 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal), 129 bool Test(ArtJvmtiEvent event) const { 130 DCHECK(EventIsInRange(event)); 132 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); 158 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event); [all...] |
H A D | events.cc | 101 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { argument 102 return global_event_mask.Test(event) || unioned_thread_event_mask.Test(event); 141 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { argument 144 DCHECK(EventMask::EventIsInRange(event)); 145 GetEventMask(thread).Set(event); 147 unioned_thread_event_mask.Set(event, true); 151 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { argument 154 DCHECK(EventMask::EventIsInRange(event)); 155 GetEventMask(thread).Set(event, fals 218 IsThreadControllable(ArtJvmtiEvent event) argument 458 SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) argument 858 GetInstrumentationEventsFor(ArtJvmtiEvent event) argument 884 EventNeedsFullDeopt(ArtJvmtiEvent event) argument 905 SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable) argument 987 OtherMonitorEventsEnabledAnywhere(ArtJvmtiEvent event) argument 1005 HandleEventType(ArtJvmtiEvent event, bool enable) argument 1052 HasAssociatedCapability(ArtJvmTiEnv* env, ArtJvmtiEvent event) argument 1109 SetEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event, jvmtiEventMode mode) argument [all...] |
/art/runtime/ |
H A D | runtime_callbacks_test.cc | 217 // Detach is not a ThreadDeath event, so we expect to be in state Started. 265 std::string event = local 268 data.push_back(event); 273 std::string event = std::string("Load:") + klass->GetDescriptor(&tmp); local 274 data.push_back(event); 280 std::string event = std::string("Prepare:") + klass->GetDescriptor(&tmp) local 282 data.push_back(event);
|
H A D | trace.cc | 256 // If there's no previous stack trace sample for this thread, log an entry event for all 751 // We're not recorded to listen to this kind of event, so complain. 752 LOG(ERROR) << "Unexpected dex PC event in tracing " << ArtMethod::PrettyMethod(method) 762 // We're not recorded to listen to this kind of event, so complain. 763 LOG(ERROR) << "Unexpected field read event in tracing " << ArtMethod::PrettyMethod(method) 774 // We're not recorded to listen to this kind of event, so complain. 775 LOG(ERROR) << "Unexpected field write event in tracing " << ArtMethod::PrettyMethod(method) 816 LOG(ERROR) << "Unexpected exception thrown event in tracing"; 822 LOG(ERROR) << "Unexpected exception thrown event in tracing"; 828 LOG(ERROR) << "Unexpected branch event i 928 LogMethodTraceEvent(Thread* thread, ArtMethod* method, instrumentation::Instrumentation::InstrumentationEvent event, uint32_t thread_clock_diff, uint32_t wall_clock_diff) argument [all...] |
H A D | debugger.cc | 156 // We also listen to kDexPcMoved instrumentation event so we know the DexPcMoved method is 158 // we report the event in DexPcMoved. However, we must remind this is method entry so we 159 // send the METHOD_ENTRY event. And we can also group it with other events for this location 163 // We also listen to kMethodExited instrumentation event and the current instruction is a 165 // sending JDWP events twice for this location, we report the event(s) in MethodExited. 166 // However, we must remind this is method entry so we send the METHOD_ENTRY event. And we can 199 // We're not recorded to listen to this kind of event, so complain. 200 LOG(ERROR) << "Unexpected method unwind event in debugger " << ArtMethod::PrettyMethod(method) 210 // We also listen to kMethodExited instrumentation event and the current instruction is a 212 // MethodEntered, we delegate event reportin 4474 jint event = connect ? 1 /*DdmServer.CONNECTED*/ : 2 /*DdmServer.DISCONNECTED*/; local [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 122 // We successfully requested the invoke. The event thread now owns the arguments array in its 843 * thread, which must have been suspended by an event. 1205 void operator()(JdwpEvent* event) { argument 1206 EventFree(event); 1211 * Set an event trigger. 1217 JdwpEventKind event_kind = request->ReadEnum1<JdwpEventKind>("event kind"); 1331 LOG(WARNING) << "Unsupported modifier " << mod.modKind << " for event " << pEvent->eventKind; 1344 VLOG(jdwp) << StringPrintf(" --> event requestId=%#x", requestId); 1349 /* registration failed, probably because event is bogus */ 1350 LOG(WARNING) << "WARNING: event reques [all...] |