Home
last modified time | relevance | path

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

12

/art/runtime/jni/
Djava_vm_ext.cc66 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion()
387 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DestroyJavaVM()
405 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in DetachCurrentThread()
420 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm); in GetEnv()
437 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime(); in AttachCurrentThreadInternal()
449 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
481 JavaVMExt::JavaVMExt(Runtime* runtime, in JavaVMExt() function in art::JavaVMExt
512 JavaVMExt::~JavaVMExt() { in ~JavaVMExt()
519 std::unique_ptr<JavaVMExt> JavaVMExt::Create(Runtime* runtime, in Create()
522 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg)); in Create()
[all …]
Djni_env_ext.h30 class JavaVMExt; variable
44 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg);
48 static jint GetEnvHandler(JavaVMExt* vm, /*out*/void** out, jint version);
108 JavaVMExt* GetVm() const { return vm_; } in GetVm()
158 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg)
165 JavaVMExt* const vm_;
Djava_vm_ext.h41 class JavaVMExt; variable
43 using GetEnvHook = jint (*)(JavaVMExt* vm, /*out*/void** new_env, jint version);
45 class JavaVMExt : public JavaVM {
50 static std::unique_ptr<JavaVMExt> Create(Runtime* runtime,
55 ~JavaVMExt();
216 JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options, std::string* error_msg);
266 DISALLOW_COPY_AND_ASSIGN(JavaVMExt);
Djni_env_ext.cc53 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
58 if (JavaVMExt::IsBadJniVersion(version) && version != JNI_VERSION_1_1) { in GetEnvHandler()
67 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create()
75 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt()
Djava_vm_ext_test.cc41 JavaVMExt* vm_;
Dcheck_jni.cc584 bool CheckNonHeap(JavaVMExt* vm, bool entry, const char* fmt, JniValueType* args) { in CheckNonHeap()
2760 static JavaVMExt* GetJavaVMExt(JNIEnv* env) { in GetJavaVMExt()
4011 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DestroyJavaVM()
4023 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThread()
4026 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThread()
4033 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpp", args); in AttachCurrentThreadAsDaemon()
4036 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in AttachCurrentThreadAsDaemon()
4043 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "v", args); in DetachCurrentThread()
4046 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), false, "i", &result); in DetachCurrentThread()
4053 sc.CheckNonHeap(reinterpret_cast<JavaVMExt*>(vm), true, "vpI", args); in GetEnv()
[all …]
Djni_internal.cc601 static JavaVMExt* JavaVmExtFromEnv(JNIEnv* env) { in JavaVmExtFromEnv()
844 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef()
856 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
Djni_internal_test.cc663 JavaVMExt* vm_;
/art/runtime/
Dscoped_thread_state_change.h29 class JavaVMExt; variable
79 JavaVMExt* Vm() const { in Vm()
115 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
128 JavaVMExt* const vm_;
Dscoped_thread_state_change.cc30 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
Dcommon_runtime_test.h47 class JavaVMExt; variable
192 JavaVMExt* const vm_;
Druntime.h91 class JavaVMExt; variable
296 JavaVMExt* GetJavaVM() const { in GetJavaVM()
1000 std::unique_ptr<JavaVMExt> java_vm_;
Dindirect_reference_table.cc57 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
Dthread.h91 class JavaVMExt; variable
1363 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.cc1479 java_vm_ = JavaVMExt::Create(this, runtime_options, &error_msg); in Init()
Dthread.cc907 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { 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.cc1484 ArtJvmTiEnv::ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint version) in ArtJvmTiEnv()
1497 static void CreateArtJvmTiEnv(art::JavaVMExt* vm, jint version, /*out*/void** new_jvmtiEnv) { in CreateArtJvmTiEnv()
1510 static jint GetEnvHandler(art::JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
Dti_class.cc414 art::JavaVMExt* java_vm = art::Runtime::Current()->GetJavaVM(); in FixupGlobalReferenceTables()
/art/runtime/ti/
Dagent.cc118 : JavaVMExt::GetLibrarySearchPath(env, class_loader)); in DoDlOpen()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc162 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
/art/openjdkjvm/
DOpenjdkJvm.cc330 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()

12