Home | History | Annotate | Download | only in jni

Lines Matching refs:runtime

48 #include "runtime-inl.h"
228 // NO_THREAD_SAFETY_ANALYSIS as this is during runtime shutdown, and we have
280 Runtime::Current()->GetClassLinker()->GetAllocatorForClassLoader(declaring_class_loader);
406 Runtime* runtime = raw_vm->GetRuntime();
407 runtime->DetachCurrentThread();
437 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime();
440 if (runtime->IsZygote()) {
459 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group,
460 !runtime->IsAotCompiler())) {
481 JavaVMExt::JavaVMExt(Runtime* runtime,
484 : runtime_(runtime),
519 std::unique_ptr<JavaVMExt> JavaVMExt::Create(Runtime* runtime,
522 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg));
834 DCHECK(Runtime::Current()->IsShuttingDown(self));
838 // self can be null during a runtime shutdown. ~Runtime()->~ClassLinker()->DecodeWeakGlobal().
858 return Runtime::Current()->IsClearedJniWeakGlobal(weak_globals_.Get<kWithoutReadBarrier>(ref));
912 ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
1065 // top of the stack is around Runtime.loadLibrary(). (See
1107 for (const std::unique_ptr<ti::Agent>& agent : Runtime::Current()->GetAgents()) {
1133 // Lookup JNI native methods from native TI Agent libraries. See runtime/ti/agent.h for more
1147 Runtime* const runtime = Runtime::Current();
1155 new_obj = runtime->GetClearedJniWeakGlobal();
1201 if (!Runtime::Create(options, ignore_unrecognized)) {
1209 Runtime* runtime = Runtime::Current();
1210 bool started = runtime->Start();
1213 delete runtime->GetJavaVM();
1219 *p_vm = runtime->GetJavaVM();
1224 Runtime* runtime = Runtime::Current();
1225 if (runtime == nullptr || buf_len == 0) {
1229 vms_buf[0] = runtime->GetJavaVM();