Home
last modified time | relevance | path

Searched refs:Vm (Results 1 – 11 of 11) sorted by relevance

/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveGlobal()
56 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveGlobal()
65 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeGlobal()
69 soa.Vm()->DeleteGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeGlobal()
78 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
79 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeAddRemoveWeakGlobal()
88 jobject ref = soa.Vm()->AddWeakGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
92 soa.Vm()->DeleteWeakGlobalRef(soa.Self(), ref); in Java_JObjectBenchmark_timeDecodeWeakGlobal()
/art/runtime/
Dmonitor_test.cc259 test->object_ = soa.Vm()->AddGlobalRef(self, obj.Get()); in CommonWaitSetup()
263 test->watchdog_object_ = soa.Vm()->AddGlobalRef(self, watchdog_obj.Get()); in CommonWaitSetup()
369 jobject g_obj1 = soa.Vm()->AddGlobalRef(self, obj1.Get()); in TEST_F()
Dscoped_thread_state_change.h81 JavaVMExt* Vm() const { in Vm() function
Dreflection.cc456 CheckMethodArguments(soa.Vm(), method->GetInterfaceMethodIfProxy(kRuntimePointerSize), args); in InvokeWithArgArray()
Druntime.cc2375 soa.Vm()->AddGlobalRef(self, main_thread_group_field->GetObject(thread_group_class.Get())); in InitThreadGroups()
2378 soa.Vm()->AddGlobalRef(self, system_thread_group_field->GetObject(thread_group_class.Get())); in InitThreadGroups()
/art/runtime/oat/
Doat_file_manager.cc702 class_loader_ = soa.Vm()->AddGlobalRef(self, soa.Decode<mirror::ClassLoader>(class_loader)); in BackgroundVerificationTask()
709 soa.Vm()->DeleteGlobalRef(self, class_loader_); in ~BackgroundVerificationTask()
/art/runtime/jni/
Djni_internal.cc857 return soa.Vm()->AddGlobalRef(soa.Self(), decoded_obj); in NewGlobalRef()
869 return soa.Vm()->AddWeakGlobalRef(soa.Self(), decoded_obj); in NewWeakGlobalRef()
2256 soa.Vm()->JniAbortF("GetArrayLength", "not an array: %s", obj->PrettyTypeOf().c_str()); in GetArrayLength()
2323 soa.Vm()->JniAbortF("NewObjectArray", in NewObjectArray()
2343 soa.Vm()->JniAbortF("NewObjectArray", "cannot assign object of type '%s' to array with " in NewObjectArray()
2367 soa.Vm()->JniAbortF("GetPrimitiveArrayCritical", "expected primitive array, given %s", in GetPrimitiveArrayCritical()
2397 soa.Vm()->JniAbortF("ReleasePrimitiveArrayCritical", "expected primitive array, given %s", in ReleasePrimitiveArrayCritical()
2889 soa.Vm()->JniAbortF("NewPrimitiveArray", "negative array length: %d", length); in NewPrimitiveArray()
2905 soa.Vm()->JniAbortF(fn_name, in DecodeAndCheckArrayType()
3001 soa.Vm()->JniAbortF("ReleaseArrayElements", in ReleasePrimitiveArray()
Dcheck_jni.cc559 if (has_method_ && soa.Vm()->IsTracingEnabled()) { in Check()
569 (traceMethod != nullptr && soa.Vm()->ShouldTrace(traceMethod))) { in Check()
/art/runtime/native/
Ddalvik_system_VMDebug.cc251 soa.Vm()->DumpReferenceTables(LOG_STREAM(INFO)); in VMDebug_dumpReferenceTables()
/art/runtime/jit/
Djit.cc905 class_loader_ = soa.Vm()->AddGlobalRef(soa.Self(), h_loader.Get()); in JitProfileTask()
940 soa.Vm()->DeleteGlobalRef(soa.Self(), class_loader_); in ~JitProfileTask()
/art/runtime/gc/
Dheap.cc1634 JavaVMExt* vm = soa.Vm(); in TrimIndirectReferenceTables()
2270 soa.Vm()->UnloadNativeLibraries(); in PerformHomogeneousSpaceCompact()
2908 soa.Vm()->UnloadNativeLibraries(); in CollectGarbageInternal()