Searched refs:NewGlobalRef (Results 1 – 25 of 28) sorted by relevance
12
39 return gOriginalEnv->NewGlobalRef(env, o); in CountNewGlobalRef()57 env_override->NewGlobalRef = CountNewGlobalRef; in Java_art_Test928_doJNITableTest()66 jobject global = env->NewGlobalRef(klass); in Java_art_Test928_doJNITableTest()76 jobject global2 = env->NewGlobalRef(klass); in Java_art_Test928_doJNITableTest()
38 non_debuggable_classes.push_back(reinterpret_cast<jclass>(env->NewGlobalRef(klass))); in AddNonDebuggableClass()
155 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()168 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
49 aioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(aioobe.get())); in SetUp()53 ase_ = reinterpret_cast<jclass>(env_->NewGlobalRef(ase.get())); in SetUp()58 sioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(sioobe.get())); in SetUp()
711 return env->NewGlobalRef(system_class_loader.get()); in CreateSystemClassLoader()1736 env->NewGlobalRef(env->GetStaticObjectField( in InitThreadGroups()1741 env->NewGlobalRef(env->GetStaticObjectField( in InitThreadGroups()
171 return reinterpret_cast<jclass>(env->NewGlobalRef(c.get())); in CacheClass()
2076 static jobject NewGlobalRef(JNIEnv* env, jobject obj) { in NewGlobalRef() function in art::__anona2e1a4fa0111::CheckJNI2772 result.L = baseEnv(env)->NewGlobalRef(env, obj); in NewRef()3787 CheckJNI::NewGlobalRef,
664 child_thread->tlsPtr_.jpeer = env->NewGlobalRef(java_peer); in CreateNativeThread()2441 tlsPtr_.class_loader_override = GetJniEnv()->NewGlobalRef(class_loader_override); in SetClassLoaderOverride()
60 list->events.push_back({ "ThreadStart", env->NewGlobalRef(thread) }); in ThreadStartCallback()72 list->events.push_back({ "Test1919AgentThread", env->NewGlobalRef(cur) }); in Test1919AgentThread()107 list->events.push_back({ "VMInit", env->NewGlobalRef(thread) }); in VMInitCallback()
57 kMainClass = reinterpret_cast<jclass>(env->NewGlobalRef(main)); in Java_Main_setupClassLoadHook()
54 jobject global_thread_group = env->NewGlobalRef(thread_group); in Java_Main_testNativeThread()
129 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(klass)); in Java_art_Exceptions_setupExceptionTracing()130 data->exception_klass = reinterpret_cast<jclass>(env->NewGlobalRef(except)); in Java_art_Exceptions_setupExceptionTracing()
165 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(test_klass)); in Java_art_Monitors_setupMonitorEvents()170 data->monitor_klass = reinterpret_cast<jclass>(env->NewGlobalRef(monitor_klass)); in Java_art_Monitors_setupMonitorEvents()
71 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(klass)); in Java_art_FramePop_enableFramePopEvent()
159 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(method_klass)); in Java_art_Breakpoint_startBreakpointWatch()
493 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(klass)); in Java_art_Trace_enableTracing2()
147 data.main_thread = env->NewGlobalRef(main_thread); in Java_art_Test931_testAgentThread()
457 stored_class_ = jni_env->NewGlobalRef(klass); in ClassLoadCallback()460 agent_thread_ = static_cast<jthread>(jni_env->NewGlobalRef(RunEventThread<jobject>( in ClassLoadCallback()582 reinterpret_cast<jclass>(env->NewGlobalRef(klass)); in Java_art_Test912_setEqualityEventStorageClass()
145 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(method_klass)); in Java_art_Test1940_initializeTest()
236 entry.jni_reference = env->NewGlobalRef(entry.jni_reference); in Promote()
255 std::unique_ptr<CallbackData> data(new CallbackData { this, soa.Env()->NewGlobalRef(thr.get()) }); in StartDebuggerThreads()
644 s5 = reinterpret_cast<jstring>(env->NewGlobalRef(s5)); in Java_Main_testNewStringObject()
534 jni_global_ref = env->NewGlobalRef(jniRef); in Java_art_Test913_followReferences()
783 data->thread = env->NewGlobalRef(thread); in RunAgentThread()
320 jclass global_klass = reinterpret_cast<jclass>(self->GetJniEnv()->NewGlobalRef(klass)); in AddTempClass()