Home
last modified time | relevance | path

Searched refs:JavaVMExt (Results 1 – 25 of 28) sorted by relevance

12

/art/runtime/jni/
Djava_vm_ext.cc68 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion()
389 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DestroyJavaVM()
414 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DetachCurrentThread()
429 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in GetEnv()
446 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime(); in AttachCurrentThreadInternal()
458 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
490 JavaVMExt::JavaVMExt(Runtime* runtime, in JavaVMExt() function in art::JavaVMExt
521 JavaVMExt::~JavaVMExt() { in ~JavaVMExt()
528 std::unique_ptr<JavaVMExt> JavaVMExt::Create(Runtime* runtime, in Create()
531 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg)); in Create()
[all …]
Djava_vm_ext.h42 class JavaVMExt; variable
44 using GetEnvHook = jint (*)(JavaVMExt* vm, /*out*/void** new_env, jint version);
46 class JavaVMExt : public JavaVM {
51 static std::unique_ptr<JavaVMExt> Create(Runtime* runtime,
56 ~JavaVMExt();
217 JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options, std::string* error_msg);
270 DISALLOW_COPY_AND_ASSIGN(JavaVMExt);
Djni_env_ext.h32 class JavaVMExt; variable
48 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg);
52 static jint GetEnvHandler(JavaVMExt* vm, /*out*/void** out, jint version);
112 JavaVMExt* GetVm() const { return vm_; } in GetVm()
169 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg)
176 JavaVMExt* const vm_;
Djni_env_ext.cc54 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
59 if (JavaVMExt::IsBadJniVersion(version) && version != JNI_VERSION_1_1) { in GetEnvHandler()
68 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create()
76 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt()
Djava_vm_ext_test.cc41 JavaVMExt* vm_;
Dcheck_jni.cc599 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { in CheckNonHeap()
2810 static JavaVMExt* GetJavaVMExt(JNIEnv* env) { in GetJavaVMExt()
4061 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DestroyJavaVM()
4073 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThread()
4076 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThread()
4083 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThreadAsDaemon()
4086 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThreadAsDaemon()
4093 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DetachCurrentThread()
4096 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in DetachCurrentThread()
4103 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpI", args); in GetEnv()
[all …]
Djni_internal.cc538 static JavaVMExt* JavaVmExtFromEnv(JNIEnv* env) { in JavaVmExtFromEnv()
781 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef()
793 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
Djni_internal_test.cc664 JavaVMExt* vm_;
/art/runtime/
Dscoped_thread_state_change.h29 class JavaVMExt; variable
81 JavaVMExt* Vm() const { in Vm()
117 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
130 JavaVMExt* const vm_;
Dscoped_thread_state_change.cc31 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
Dcommon_runtime_test.h67 class JavaVMExt; variable
260 JavaVMExt* const vm_;
Druntime.h98 class JavaVMExt; variable
325 JavaVMExt* GetJavaVM() const { in GetJavaVM()
1172 std::unique_ptr<JavaVMExt> java_vm_;
Dindirect_reference_table.cc60 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
Dthread.h93 class JavaVMExt; variable
1435 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr)
Dreflection_test.cc507 JavaVMExt* vm_;
Dreflection.cc369 void CheckMethodArguments(JavaVMExt* vm, ArtMethod* m, uint32_t* args) in CheckMethodArguments()
Druntime.cc1715 java_vm_ = JavaVMExt::Create(this, runtime_options, &error_msg); in Init()
/art/test/900-hello-plugin/
Dload_unload.cc33 static jint GetEnvHandler(JavaVMExt* vm ATTRIBUTE_UNUSED, void** new_env, jint version) { in GetEnvHandler()
/art/openjdkjvmti/
Dart_jvmti.h74 art::JavaVMExt* art_vm;
109 ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint ti_version);
DOpenjdkJvmTi.cc1403 ArtJvmTiEnv::ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint version) in ArtJvmTiEnv()
1416 static void CreateArtJvmTiEnv(art::JavaVMExt* vm, jint version, /*out*/void** new_jvmtiEnv) { in CreateArtJvmTiEnv()
1429 static jint GetEnvHandler(art::JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
Dti_class.cc420 art::JavaVMExt* java_vm = art::Runtime::Current()->GetJavaVM(); in FixupGlobalReferenceTables()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc110 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
/art/runtime/ti/
Dagent.cc118 : JavaVMExt::GetLibrarySearchPath(env, class_loader)); in DoDlOpen()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc166 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
/art/openjdkjvm/
DOpenjdkJvm.cc333 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()

12