Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 46) sorted by relevance

12

/art/openjdkjvmti/
Devents.h169 static bool EventIsInRange(ArtJvmtiEvent event) { in EventIsInRange()
170 return event >= ArtJvmtiEvent::kMinEventTypeVal && event <= ArtJvmtiEvent::kMaxEventTypeVal; in EventIsInRange()
173 void Set(ArtJvmtiEvent event, bool value = true) {
174 DCHECK(EventIsInRange(event));
175 bit_set.set(static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal),
179 bool Test(ArtJvmtiEvent event) const { in Test()
180 DCHECK(EventIsInRange(event)); in Test()
182 static_cast<size_t>(event) - static_cast<size_t>(ArtJvmtiEvent::kMinEventTypeVal)); in Test()
204 void EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
209 void DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event);
[all …]
Devents.cc129 bool EventMasks::IsEnabledAnywhere(ArtJvmtiEvent event) { in IsEnabledAnywhere() argument
130 return global_event_mask.Test(event) || unioned_thread_event_mask.Test(event); in IsEnabledAnywhere()
169 void EventMasks::EnableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in EnableEvent() argument
172 DCHECK(EventMask::EventIsInRange(event)); in EnableEvent()
173 GetEventMask(thread).Set(event); in EnableEvent()
175 unioned_thread_event_mask.Set(event, true); in EnableEvent()
179 void EventMasks::DisableEvent(ArtJvmTiEnv* env, art::Thread* thread, ArtJvmtiEvent event) { in DisableEvent() argument
182 DCHECK(EventMask::EventIsInRange(event)); in DisableEvent()
183 GetEventMask(thread).Set(event, false); in DisableEvent()
188 union_value |= pair.second.Test(event); in DisableEvent()
[all …]
Devents-inl.h238 for (const impl::EventHandlerFunc<kEvent>& event : handlers) { in DispatchClassFileLoadHookEvent() local
241 ExecuteCallback<kEvent>(event, in DispatchClassFileLoadHookEvent()
259 last_env = event.env_; in DispatchClassFileLoadHookEvent()
282 for (auto event : events) { in DispatchEvent() local
283 ExecuteCallback<kEvent>(event, args...); in DispatchEvent()
293 for (auto event : events) { in DispatchEvent() local
294 ExecuteCallback<kEvent>(event, jnienv, args...); in DispatchEvent()
438 impl::EventHandlerFunc<ArtJvmtiEvent::kFramePop> event,
444 ExecuteCallback<ArtJvmtiEvent::kFramePop>(event, jnienv, jni_thread, jmethod, is_exception);
490 for (auto event : events) { in DispatchClassLoadOrPrepareEvent() local
[all …]
Dti_class_definition.h74 void SetNewDexData(jint new_dex_len, unsigned char* new_dex_data, ArtJvmtiEvent event) { in SetNewDexData() argument
84 if (event == ArtJvmtiEvent::kStructuralDexFileLoadHook) { in SetNewDexData()
/art/test/1926-missed-frame-pop/
Dexpected-stdout.txt1 Ran recurTimes(10) without errors after disabling frame pop event!
2 renabling frame pop event with similar stack.
4 Ran recurTimes(10) without errors after disabling frame pop event!
5 renabling frame pop event with similar stack.
7 Ran recurTimes(10) without errors after disabling frame pop event!
8 renabling frame pop event with similar stack.
/art/test/1927-exception-event/
DAndroid.bp3 // Build rules for ART run-test `1927-exception-event`.
16 name: "art-run-test-1927-exception-event",
21 ":art-run-test-1927-exception-event-expected-stdout",
22 ":art-run-test-1927-exception-event-expected-stderr",
28 name: "art-run-test-1927-exception-event-expected-stdout",
29 out: ["art-run-test-1927-exception-event-expected-stdout.txt"],
36 name: "art-run-test-1927-exception-event-expected-stderr",
37 out: ["art-run-test-1927-exception-event-expected-stderr.txt"],
Dinfo.txt1 Test basic JVMTI exception event functionality
/art/test/1928-exception-event-exception/
DAndroid.bp3 // Build rules for ART run-test `1928-exception-event-exception`.
16 name: "art-run-test-1928-exception-event-exception",
21 ":art-run-test-1928-exception-event-exception-expected-stdout",
22 ":art-run-test-1928-exception-event-exception-expected-stderr",
28 name: "art-run-test-1928-exception-event-exception-expected-stdout",
29 out: ["art-run-test-1928-exception-event-exception-expected-stdout.txt"],
36 name: "art-run-test-1928-exception-event-exception-expected-stderr",
37 out: ["art-run-test-1928-exception-event-exception-expected-stderr.txt"],
Dinfo.txt1 Test basic JVMTI exception event functionality.
3 Ensures we can throw exceptions during the exception event without causing
4 problems. Note that we do not allow exceptions to propogate past the event,
/art/test/1962-multi-thread-events/
Dexpected-stdout.txt2 Hit event on T1 Thread
4 Hit event on T2 Thread
Dinfo.txt4 deoptimization count if it was the first thread of a particular event type to be activated. This
/art/test/1936-thread-end-events/
Dinfo.txt4 to where we sent the event. This test ensures that the placement of the
5 THREAD_END event is correct.
/art/test/1932-monitor-events-misc/
Dexpected-stdout.txt3 Releasing NamedLock[Lock testLockUncontend] during monitorEnter event.
27 Testing throwing exception in MonitorWait event
33 Testing throwing exception in MonitorWait event with illegal aruments
39 Testing throwing exception in MonitorWaited event
46 Testing throwing exception in MonitorWaited event caused by timeout
53 Testing throwing exception in MonitorWaited event caused by interrupt
69 Testing that the monitor can be stolen during the MonitorWaited event.
72 locking controller3 in controller2 MonitorWaited event
74 Testing that we can lock and release the monitor in the MonitorWait event
79 Testing that we can lock and release the monitor in the MonitorWaited event
Dexpected-stdout.jvm.txt3 Releasing NamedLock[Lock testLockUncontend] during monitorEnter event.
27 Testing throwing exception in MonitorWait event
34 Testing throwing exception in MonitorWait event with illegal aruments
40 Testing throwing exception in MonitorWaited event
47 Testing throwing exception in MonitorWaited event caused by timeout
54 Testing throwing exception in MonitorWaited event caused by interrupt
70 Testing that the monitor can be stolen during the MonitorWaited event.
73 locking controller3 in controller2 MonitorWaited event
75 Testing that we can lock and release the monitor in the MonitorWait event
80 Testing that we can lock and release the monitor in the MonitorWaited event
/art/test/1953-pop-frame/
Dexpected-stdout.no-jvm.txt51 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
55 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
59 Test stopped during Exception event of calledFunction (catch in calling function)
63 Test stopped during Exception event of calledFunction (catch in called function)
67 Test stopped during Exception event of calledFunction (catch in parent of calling function)
71 Test stopped during Exception event of calledFunction (catch in called function)
75 Test stopped during a ClassLoad event.
85 Test stopped during a ClassPrepare event.
Dexpected-stdout.txt37 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
41 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
45 Test stopped during Exception event of calledFunction (catch in calling function)
49 Test stopped during Exception event of calledFunction (catch in called function)
53 Test stopped during Exception event of calledFunction (catch in parent of calling function)
57 Test stopped during Exception event of calledFunction (catch in called function)
/art/test/1954-pop-frame-jit/
Dexpected-stdout.txt51 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
55 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
59 Test stopped during Exception event of calledFunction (catch in calling function)
63 Test stopped during Exception event of calledFunction (catch in called function)
67 Test stopped during Exception event of calledFunction (catch in parent of calling function)
71 Test stopped during Exception event of calledFunction (catch in called function)
75 Test stopped during a ClassLoad event.
85 Test stopped during a ClassPrepare event.
Dexpected-stdout.jvm.txt37 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
41 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
45 Test stopped during Exception event of calledFunction (catch in calling function)
49 Test stopped during Exception event of calledFunction (catch in called function)
53 Test stopped during Exception event of calledFunction (catch in parent of calling function)
57 Test stopped during Exception event of calledFunction (catch in called function)
/art/test/1956-pop-frame-jit-calling/
Dexpected-stdout.txt51 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
55 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
59 Test stopped during Exception event of calledFunction (catch in calling function)
63 Test stopped during Exception event of calledFunction (catch in called function)
67 Test stopped during Exception event of calledFunction (catch in parent of calling function)
71 Test stopped during Exception event of calledFunction (catch in called function)
75 Test stopped during a ClassLoad event.
85 Test stopped during a ClassPrepare event.
Dexpected-stdout.jvm.txt37 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
41 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
45 Test stopped during Exception event of calledFunction (catch in calling function)
49 Test stopped during Exception event of calledFunction (catch in called function)
53 Test stopped during Exception event of calledFunction (catch in parent of calling function)
57 Test stopped during Exception event of calledFunction (catch in called function)
/art/test/1955-pop-frame-jit-called/
Dexpected-stdout.txt51 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
55 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
59 Test stopped during Exception event of calledFunction (catch in calling function)
63 Test stopped during Exception event of calledFunction (catch in called function)
67 Test stopped during Exception event of calledFunction (catch in parent of calling function)
71 Test stopped during Exception event of calledFunction (catch in called function)
75 Test stopped during a ClassLoad event.
85 Test stopped during a ClassPrepare event.
Dexpected-stdout.jvm.txt37 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in call…
41 Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subr…
45 Test stopped during Exception event of calledFunction (catch in calling function)
49 Test stopped during Exception event of calledFunction (catch in called function)
53 Test stopped during Exception event of calledFunction (catch in parent of calling function)
57 Test stopped during Exception event of calledFunction (catch in called function)
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc48 static void AddCapsForEvent(jvmtiEvent event, jvmtiCapabilities* caps) { in AddCapsForEvent() argument
49 switch (event) { in AddCapsForEvent()
107 #define GET_EVENT(a, event, b, c) event, argument
323 explicit LogPrinter(jvmtiEvent event) : event_(event) {} in LogPrinter() argument
570 #define GENERATE_LOG_FUNCTION_JNI(name, event, args, argnames) \ argument
572 LogPrinter printer(event); \
577 #define GENERATE_LOG_FUNCTION_NO_JNI(name, event, args, argnames) \ argument
579 LogPrinter printer(event); \
595 #define CHECK_NAME(name, event, args, argnames) \ in EventToName() argument
596 if (desired_event == (event)) { \ in EventToName()
[all …]
DREADME.md4 to various JVMTI events. It is called tifast since none of the event handlers do
22 * If 'log' is the first argument the event handlers will LOG(INFO) when they are
30 * The event-names are the same names as are used in the jvmtiEventCallbacks
/art/runtime/
Druntime_callbacks_test.cc271 std::string event = in ClassPreDefine() local
274 data.push_back(event); in ClassPreDefine()
279 std::string event = std::string("Load:") + klass->GetDescriptor(&tmp); in ClassLoad() local
280 data.push_back(event); in ClassLoad()
286 std::string event = std::string("Prepare:") + klass->GetDescriptor(&tmp) in ClassPrepare() local
288 data.push_back(event); in ClassPrepare()

12