Home | History | Annotate | Download | only in runtime

Lines Matching refs:Vm

470     if (has_method_ && soa.Vm()->IsTracingEnabled()) {
480 (traceMethod != nullptr && soa.Vm()->ShouldTrace(traceMethod))) {
516 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) {
518 vm != nullptr && vm->IsTracingEnabled()) {
525 should_trace = (traceMethod != nullptr && vm->ShouldTrace(traceMethod));
783 obj = soa.Vm()->DecodeWeakGlobal(soa.Self(), ref);
1641 static jint GetJavaVM(JNIEnv *env, JavaVM **vm) {
1644 JniValueType args[2] = {{.E = env }, {.p = vm}};
1647 result.i = baseEnv(env)->GetJavaVM(env, vm);
2593 return reinterpret_cast<JNIEnvExt*>(env)->vm;
3829 static jint DestroyJavaVM(JavaVM* vm) {
3831 JniValueType args[1] = {{.v = vm}};
3832 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args);
3834 result.i = BaseVm(vm)->DestroyJavaVM(vm);
3841 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) {
3843 JniValueType args[3] = {{.v = vm}, {.p = p_env}, {.p = thr_args}};
3844 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args);
3846 result.i = BaseVm(vm)->AttachCurrentThread(vm, p_env, thr_args);
3847 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result);
3851 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) {
3853 JniValueType args[3] = {{.v = vm}, {.p = p_env}, {.p = thr_args}};
3854 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args);
3856 result.i = BaseVm(vm)->AttachCurrentThreadAsDaemon(vm, p_env, thr_args);
3857 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result);
3861 static jint DetachCurrentThread(JavaVM* vm) {
3863 JniValueType args[1] = {{.v = vm}};
3864 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args);
3866 result.i = BaseVm(vm)->DetachCurrentThread(vm);
3867 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result);
3871 static jint GetEnv(JavaVM* vm, void** p_env, jint version) {
3873 JniValueType args[3] = {{.v = vm}, {.p = p_env}, {.I = version}};
3874 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpI", args);
3876 result.i = BaseVm(vm)->GetEnv(vm, p_env, version);
3877 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result);
3882 static const JNIInvokeInterface* BaseVm(JavaVM* vm) {
3883 return reinterpret_cast<JavaVMExt*>(vm)->GetUncheckedFunctions();