Lines Matching refs:jvmti_env
90 jvmti_env, in PerformSuspension()
301 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps))) { in Java_art_SuspendEvents_setupTest()
318 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEventCallbacks(&cb, sizeof(cb))); in Java_art_SuspendEvents_setupTest()
323 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, nullptr))) { in DeleteTestData()
327 env, jvmti_env, jvmti_env->Deallocate(reinterpret_cast<uint8_t*>(data))); in DeleteTestData()
342 jvmti_env, in SetupTestData()
343 jvmti_env->Allocate(sizeof(TestData), reinterpret_cast<uint8_t**>(&data_ptr)))) { in SetupTestData()
346 data = new (data_ptr) TestData(jvmti_env, in SetupTestData()
357 jvmti_env->Deallocate(reinterpret_cast<uint8_t*>(data)); in SetupTestData()
394 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendClassEvent()
402 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendClassEvent()
407 jvmti_env, in Java_art_SuspendEvents_setupSuspendClassEvent()
408 jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, static_cast<jvmtiEvent>(event_num), thr)); in Java_art_SuspendEvents_setupSuspendClassEvent()
415 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendClassEvent()
421 jvmti_env, in Java_art_SuspendEvents_clearSuspendClassEvent()
422 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_CLASS_LOAD, thr))) { in Java_art_SuspendEvents_clearSuspendClassEvent()
427 jvmti_env, in Java_art_SuspendEvents_clearSuspendClassEvent()
428 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_CLASS_PREPARE, thr))) { in Java_art_SuspendEvents_clearSuspendClassEvent()
438 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendSingleStepAt()
446 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendSingleStepAt()
451 jvmti_env, in Java_art_SuspendEvents_setupSuspendSingleStepAt()
452 jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_SINGLE_STEP, thr)); in Java_art_SuspendEvents_setupSuspendSingleStepAt()
459 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendSingleStepFor()
465 jvmti_env, in Java_art_SuspendEvents_clearSuspendSingleStepFor()
466 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_SINGLE_STEP, thr))) { in Java_art_SuspendEvents_clearSuspendSingleStepFor()
476 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
482 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
487 jvmti_env, in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
488 jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_FRAME_POP, thr))) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
493 jvmti_env, in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
494 jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_BREAKPOINT, thr))) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
498 env, jvmti_env, jvmti_env->SetBreakpoint(data->frame_pop_setup_method, 0))) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
507 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
513 jvmti_env, in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
514 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_FRAME_POP, thr))) { in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
519 jvmti_env, in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
520 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_BREAKPOINT, thr))) { in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
524 env, jvmti_env, jvmti_env->ClearBreakpoint(data->frame_pop_setup_method, 0))) { in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
534 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendBreakpointFor()
542 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendBreakpointFor()
547 jvmti_env, in Java_art_SuspendEvents_setupSuspendBreakpointFor()
548 jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_BREAKPOINT, thr))) { in Java_art_SuspendEvents_setupSuspendBreakpointFor()
552 env, jvmti_env, jvmti_env->SetBreakpoint(data->target_method, data->target_loc)); in Java_art_SuspendEvents_setupSuspendBreakpointFor()
559 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
565 jvmti_env, in Java_art_SuspendEvents_clearSuspendBreakpointFor()
566 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_BREAKPOINT, thr))) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
570 env, jvmti_env, jvmti_env->ClearBreakpoint(data->target_method, data->target_loc))) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
573 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, nullptr))) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
583 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendExceptionEvent()
591 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendExceptionEvent()
596 jvmti_env, in Java_art_SuspendEvents_setupSuspendExceptionEvent()
597 jvmti_env->SetEventNotificationMode( in Java_art_SuspendEvents_setupSuspendExceptionEvent()
605 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendExceptionEvent()
611 jvmti_env, in Java_art_SuspendEvents_clearSuspendExceptionEvent()
612 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_EXCEPTION_CATCH, thr))) { in Java_art_SuspendEvents_clearSuspendExceptionEvent()
617 jvmti_env, in Java_art_SuspendEvents_clearSuspendExceptionEvent()
618 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_EXCEPTION, thr))) { in Java_art_SuspendEvents_clearSuspendExceptionEvent()
628 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupSuspendMethodEvent()
636 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupSuspendMethodEvent()
641 jvmti_env, in Java_art_SuspendEvents_setupSuspendMethodEvent()
642 jvmti_env->SetEventNotificationMode( in Java_art_SuspendEvents_setupSuspendMethodEvent()
650 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearSuspendMethodEvent()
656 jvmti_env, in Java_art_SuspendEvents_clearSuspendMethodEvent()
657 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_METHOD_EXIT, thr))) { in Java_art_SuspendEvents_clearSuspendMethodEvent()
662 jvmti_env, in Java_art_SuspendEvents_clearSuspendMethodEvent()
663 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_METHOD_ENTRY, thr))) { in Java_art_SuspendEvents_clearSuspendMethodEvent()
678 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupFieldSuspendFor()
686 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupFieldSuspendFor()
690 jvmti_env, in Java_art_SuspendEvents_setupFieldSuspendFor()
691 jvmti_env->SetEventNotificationMode( in Java_art_SuspendEvents_setupFieldSuspendFor()
699 env, jvmti_env, jvmti_env->SetFieldAccessWatch(data->target_klass, data->target_field)); in Java_art_SuspendEvents_setupFieldSuspendFor()
703 jvmti_env, in Java_art_SuspendEvents_setupFieldSuspendFor()
704 jvmti_env->SetFieldModificationWatch(data->target_klass, data->target_field)); in Java_art_SuspendEvents_setupFieldSuspendFor()
712 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearFieldSuspendFor()
718 jvmti_env, in Java_art_SuspendEvents_clearFieldSuspendFor()
719 jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_FIELD_ACCESS, thr))) { in Java_art_SuspendEvents_clearFieldSuspendFor()
723 jvmti_env, in Java_art_SuspendEvents_clearFieldSuspendFor()
724 jvmti_env->SetEventNotificationMode( in Java_art_SuspendEvents_clearFieldSuspendFor()
730 jvmti_env, in Java_art_SuspendEvents_clearFieldSuspendFor()
731 jvmti_env->ClearFieldModificationWatch(data->target_klass, data->target_field)) && in Java_art_SuspendEvents_clearFieldSuspendFor()
734 jvmti_env, in Java_art_SuspendEvents_clearFieldSuspendFor()
735 jvmti_env->ClearFieldAccessWatch(data->target_klass, data->target_field))) { in Java_art_SuspendEvents_clearFieldSuspendFor()
740 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, nullptr))) { in Java_art_SuspendEvents_clearFieldSuspendFor()
750 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_setupWaitForNativeCall()
758 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, data))) { in Java_art_SuspendEvents_setupWaitForNativeCall()
767 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_clearWaitForNativeCall()
771 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetThreadLocalStorage(thr, nullptr))) { in Java_art_SuspendEvents_clearWaitForNativeCall()
781 env, jvmti_env, jvmti_env->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in Java_art_SuspendEvents_waitForSuspendHit()
785 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorEnter(data->notify_monitor))) { in Java_art_SuspendEvents_waitForSuspendHit()
790 env, jvmti_env, jvmti_env->RawMonitorWait(data->notify_monitor, -1))) { in Java_art_SuspendEvents_waitForSuspendHit()
794 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->RawMonitorExit(data->notify_monitor))) { in Java_art_SuspendEvents_waitForSuspendHit()
798 while (!JvmtiErrorToException(env, jvmti_env, jvmti_env->GetThreadState(thr, &state)) && in Java_art_SuspendEvents_waitForSuspendHit()