/art/test/1962-multi-thread-events/ |
D | multi_thread_events.cc | 34 jobject events; member 55 env->CallStaticVoidMethod(klass, handler, thread, data->events); in cbMethodEntry() 73 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thr, jobject events, jobject target) { in Java_art_Test1962_setupThread() argument 79 data->events = env->NewGlobalRef(events); in Java_art_Test1962_setupThread()
|
D | info.txt | 5 could cause events to be missed.
|
/art/tools/jvmti-agents/ti-fast/ |
D | README.md | 4 to various JVMTI events. It is called tifast since none of the event handlers do 24 * If 'all' is one of the arguments all events the current runtime is capable of 32 those needed to listen for the events are gained. 34 * Only events which do not require additional function calls to cause delivery 37 #### Supported events 39 The following events may be listened for with this agent 93 All other events cannot be listened for by this agent. Most of these missing 94 events either require the use of other functions in order to be called
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 45 std::vector<EventData> events; member 62 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) }); in ThreadStartCallback() 74 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread() 112 list->events.push_back({ "VMInit", env->NewGlobalRef(thread) }); in VMInitCallback() 165 jobjectArray ret = CreateObjectArray(env, list->events.size(), "java/lang/String", in Java_art_Test1919_getEventNames() 167 return env->NewStringUTF(list->events[i].event.c_str()); in Java_art_Test1919_getEventNames() 186 jobjectArray ret = CreateObjectArray(env, list->events.size(), "java/lang/Thread", in Java_art_Test1919_getEventThreads() 188 return env->NewLocalRef(list->events[i].data); in Java_art_Test1919_getEventThreads()
|
D | info.txt | 3 Test the interaction of VMInit events and thread starts.
|
/art/test/1933-monitor-current-contended/ |
D | info.txt | 1 Tests jvmti monitor events in odd situations. 3 Checks that the JVMTI monitor events are correctly dispatched and handled for
|
/art/test/1932-monitor-events-misc/ |
D | info.txt | 1 Tests jvmti monitor events in odd situations. 3 Checks that the JVMTI monitor events are correctly dispatched and handled for
|
/art/test/991-field-trace-2/ |
D | info.txt | 4 while handling these events. It also verifies the situations in which these 5 events are sent.
|
/art/test/1962-multi-thread-events/src/art/ |
D | Test1962.java | 34 public static void HandleEvent(Thread t, List<String> events) { in HandleEvent() argument 35 events.add("Hit event on " + t.getName()); in HandleEvent() 82 public static native void setupThread(Thread t, List<String> events, Method target); in setupThread() argument
|
/art/runtime/ |
D | instrumentation.cc | 525 static bool HasEvent(Instrumentation::InstrumentationEvent expected, uint32_t events) { in HasEvent() argument 526 return (events & expected) != 0; in HasEvent() 530 uint32_t events, in PotentiallyAddListenerTo() argument 536 if (!HasEvent(event, events)) { in PotentiallyAddListenerTo() 550 void Instrumentation::AddListener(InstrumentationListener* listener, uint32_t events) { in AddListener() argument 553 events, in AddListener() 558 events, in AddListener() 563 events, in AddListener() 568 events, in AddListener() 573 events, in AddListener() [all …]
|
/art/test/997-single-step/ |
D | info.txt | 3 Ensures that we can receive single step events from JVMTI.
|
/art/test/1941-dispose-stress/ |
D | info.txt | 3 Ensures that we can receive single step events from JVMTI.
|
/art/test/1927-exception-event/ |
D | info.txt | 3 Ensures that we can receive exception and exception catch events from JVMTI.
|
/art/test/1931-monitor-events/ |
D | info.txt | 3 Tests that the basic monitor-events work as we expect them to.
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 178 jvmtiExtensionEventInfo* events = nullptr; in Java_art_Test1940_initializeTest() local 179 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetExtensionEvents(&n_ext, &events))) { in Java_art_Test1940_initializeTest() 183 jvmtiExtensionEventInfo* cur_info = &events[i]; in Java_art_Test1940_initializeTest() 193 Dealloc(events); in Java_art_Test1940_initializeTest()
|
D | expected.txt | 23 Saw expected thread events.
|
/art/test/1936-thread-end-events/ |
D | info.txt | 3 We had a bug where we were still sending events after JVMTI_EVENT_THREAD_END due
|
/art/test/1947-breakpoint-redefine-deopt/ |
D | info.txt | 5 paths and then runs the function, receiving the breakpoint events.
|
/art/test/995-breakpoints-throw/ |
D | info.txt | 3 Tests that it is possible to throw exceptions while handling breakpoint events
|
/art/test/994-breakpoint-line/ |
D | info.txt | 5 paths and then runs the function, receiving the breakpoint events.
|
/art/openjdkjvmti/ |
D | events-inl.h | 278 std::vector<impl::EventHandlerFunc<kEvent>> events = CollectEvents<kEvent>(thread, args...); in DispatchEvent() local 279 for (auto event : events) { in DispatchEvent() 287 std::vector<impl::EventHandlerFunc<kEvent>> events = CollectEvents<kEvent>(thread, in DispatchEvent() local 290 for (auto event : events) { in DispatchEvent() 461 std::vector<impl::EventHandlerFunc<kEvent>> events = CollectEvents<kEvent>(thread, in DispatchClassLoadOrPrepareEvent() local 466 for (auto event : events) { in DispatchClassLoadOrPrepareEvent() 496 std::vector<impl::EventHandlerFunc<ArtJvmtiEvent::kNativeMethodBind>> events = variable 504 for (auto event : events) {
|
D | Android.bp | 29 "events.cc",
|
/art/test/1959-redefine-object-instrument/ |
D | info.txt | 6 stack is only used for some sanity-checks, logging and method-exit events
|
/art/runtime/jdwp/ |
D | README.txt | 10 multiple simultaneous events and debugger requests with thread suspension
|
/art/test/ |
D | Android.bp | 258 "933-misc-events/misc_events.cc", 284 "1932-monitor-events-misc/monitor_misc.cc", 295 "1962-multi-thread-events/multi_thread_events.cc", 606 "933-misc-events/src/art/Test933.java", 657 "1931-monitor-events/src/art/Test1931.java", 658 "1932-monitor-events-misc/src/art/Test1932.java", 661 "1936-thread-end-events/src/art/Test1936.java", 669 "1962-multi-thread-events/src/art/Test1962.java", 708 "933-misc-events/expected.txt", 757 "1931-monitor-events/expected.txt", [all …]
|