Lines Matching full:jvm
34 JavaVM *jvm; member
58 JNIEnv *env = aws_jni_acquire_thread_env(callback_data->jvm); in s_on_connection_setup()
60 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_on_connection_setup()
75 JavaVM *jvm = callback_data->jvm; in s_on_connection_setup() local
80 aws_jni_release_thread_env(jvm, env); in s_on_connection_setup()
93 JNIEnv *env = aws_jni_acquire_thread_env(callback_data->jvm); in s_on_connection_shutdown()
95 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_on_connection_shutdown()
106 JavaVM *jvm = callback_data->jvm; in s_on_connection_shutdown() local
109 aws_jni_release_thread_env(jvm, env); in s_on_connection_shutdown()
122 JNIEnv *env = aws_jni_acquire_thread_env(callback_data->jvm); in s_connection_protocol_message()
124 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_connection_protocol_message()
147 aws_jni_release_thread_env(callback_data->jvm, env); in s_connection_protocol_message()
196 jint jvmresult = (*env)->GetJavaVM(env, &callback_data->jvm); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_clientConnect()
198 aws_jni_throw_runtime_exception(env, "ClientConnection.clientConnect: Unable to get JVM"); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_clientConnect()
328 JavaVM *jvm; member
348 JNIEnv *env = aws_jni_acquire_thread_env(callback_data->jvm); in s_message_flush_fn()
350 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_message_flush_fn()
358 JavaVM *jvm = callback_data->jvm; in s_message_flush_fn() local
361 aws_jni_release_thread_env(jvm, env); in s_message_flush_fn()
401 jint jvmresult = (*env)->GetJavaVM(env, &callback_data->jvm); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_sendProtocolMessage()
403 … aws_jni_throw_runtime_exception(env, "ClientConnection.sendProtocolMessage: Unable to get JVM"); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_sendProtocolMessage()
428 JavaVM *jvm; member
458 JNIEnv *env = aws_jni_acquire_thread_env(callback_data->jvm); in s_stream_continuation()
460 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_stream_continuation()
481 /* don't really care if they threw here, but we want to make the jvm happy that we checked */ in s_stream_continuation()
484 aws_jni_release_thread_env(callback_data->jvm, env); in s_stream_continuation()
495 JNIEnv *env = aws_jni_acquire_thread_env(continuation_callback_data->jvm); in s_stream_continuation_closed()
497 /* If we can't get an environment, then the JVM is probably shutting down. Don't crash. */ in s_stream_continuation_closed()
505 /* don't really care if they threw here, but we want to make the jvm happy that we checked */ in s_stream_continuation_closed()
508 JavaVM *jvm = continuation_callback_data->jvm; in s_stream_continuation_closed() local
510 aws_jni_release_thread_env(jvm, env); in s_stream_continuation_closed()
534 jint jvmresult = (*env)->GetJavaVM(env, &continuation_callback_data->jvm); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_newClientStream()
536 aws_jni_throw_runtime_exception(env, "ClientConnection.newClientStream: Unable to get JVM"); in Java_software_amazon_awssdk_crt_eventstream_ClientConnection_newClientStream()
620 jint jvmresult = (*env)->GetJavaVM(env, &callback_data->jvm); in Java_software_amazon_awssdk_crt_eventstream_ClientConnectionContinuation_activateContinuation()
622 …row_runtime_exception(env, "ClientConnectionContinuation.activateContinuation: Unable to get JVM"); in Java_software_amazon_awssdk_crt_eventstream_ClientConnectionContinuation_activateContinuation()
696 jint jvmresult = (*env)->GetJavaVM(env, &callback_data->jvm); in Java_software_amazon_awssdk_crt_eventstream_ClientConnectionContinuation_sendContinuationMessage()
698 …_runtime_exception(env, "ClientConnectionContinuation.sendContinuationMessage: Unable to get JVM"); in Java_software_amazon_awssdk_crt_eventstream_ClientConnectionContinuation_sendContinuationMessage()