Home
last modified time | relevance | path

Searched refs:hs (Results 101 – 125 of 144) sorted by relevance

123456

/art/runtime/
Dthread.cc1126 StackHandleScope<1> hs(self); in CreatePeer() local
1127 MutableHandle<mirror::String> peer_thread_name(hs.NewHandle(GetThreadName())); in CreatePeer()
2435 StackHandleScope<1> hs(self); in Destroy() local
2436 Handle<mirror::Object> h_obj(hs.NewHandle(lock)); in Destroy()
2720 StackHandleScope<1> hs(self_); in Init() local
2726 hs.NewHandle( in Init()
2727 mirror::ObjectArray<mirror::Object>::Alloc(hs.Self(), array_class, depth + 1))); in Init()
2860 StackHandleScope<3> hs(soa.Self()); in CreateStackTraceElement() local
2861 auto class_name_object(hs.NewHandle<mirror::String>(nullptr)); in CreateStackTraceElement()
2862 auto source_name_object(hs.NewHandle<mirror::String>(nullptr)); in CreateStackTraceElement()
[all …]
Dreflection.cc235 StackHandleScope<2> hs(self); in BuildArgArrayFromObjectArray() local
236 MutableHandle<mirror::Object> arg(hs.NewHandle<mirror::Object>(nullptr)); in BuildArgArrayFromObjectArray()
238 hs.NewHandle<mirror::ObjectArray<mirror::Object>>(raw_args)); in BuildArgArrayFromObjectArray()
704 StackHandleScope<1> hs(self); in InvokeMethod() local
705 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod()
Dstack.cc153 HandleScope* hs; in GetThisObject() local
155 hs = reinterpret_cast<HandleScope*>( in GetThisObject()
163 hs = GetGenericJniHandleScope(cur_quick_frame_, num_handle_scope_references); in GetThisObject()
165 return hs->GetReference(0); in GetThisObject()
Dmonitor.cc1106 StackHandleScope<1> hs(self); in MonitorEnter() local
1107 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorEnter()
1226 StackHandleScope<1> hs(self); in MonitorExit() local
1227 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in MonitorExit()
1291 StackHandleScope<1> hs(self); in Wait() local
1292 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in Wait()
Druntime.cc777 StackHandleScope<2> hs(soa.Self()); in CreateSystemClassLoader() local
779 hs.NewHandle(soa.Decode<mirror::Class>(WellKnownClasses::java_lang_ClassLoader))); in CreateSystemClassLoader()
798 hs.NewHandle(soa.Decode<mirror::Class>(WellKnownClasses::java_lang_Thread))); in CreateSystemClassLoader()
837 StackHandleScope<1> hs(self); in RunRootClinits() local
838 Handle<mirror::Class> klass = hs.NewHandle<mirror::Class>(exception->Read()->GetClass()); in RunRootClinits()
868 StackHandleScope<3> hs(soa.Self()); in Start() local
871 auto class_class(hs.NewHandle<mirror::Class>(GetClassRoot<mirror::Class>(class_roots))); in Start()
872 auto string_class(hs.NewHandle<mirror::Class>(GetClassRoot<mirror::String>(class_roots))); in Start()
873 auto field_class(hs.NewHandle<mirror::Class>(GetClassRoot<mirror::Field>(class_roots))); in Start()
Dintern_table.cc233 StackHandleScope<1> hs(self); in Insert() local
234 auto h = hs.NewHandleWrapper(&s); in Insert()
Dcommon_runtime_test.cc184 StackHandleScope<1> hs(soa.Self()); in GetDexFiles() local
185 Handle<mirror::ClassLoader> class_loader = hs.NewHandle( in GetDexFiles()
/art/runtime/jit/
Dprofiling_info_test.cc51 StackHandleScope<1> hs(self); in GetVirtualMethods() local
53 hs.NewHandle(self->DecodeJObject(class_loader)->AsClassLoader())); in GetVirtualMethods()
Djit.cc894 StackHandleScope<1> hs(self); in Run() local
895 MutableHandle<mirror::Class> klass = hs.NewHandle<mirror::Class>(nullptr); in Run()
980 StackHandleScope<1> hs(soa.Self()); in JitProfileTask() local
981 Handle<mirror::ClassLoader> h_loader(hs.NewHandle( in JitProfileTask()
996 StackHandleScope<1> hs(self); in Run() local
997 Handle<mirror::ClassLoader> loader = hs.NewHandle<mirror::ClassLoader>( in Run()
1435 StackHandleScope<1> hs(self); in CompileMethodsFromProfile() local
1436 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle<mirror::DexCache>(nullptr); in CompileMethodsFromProfile()
/art/openjdkjvmti/
Dtransform.cc370 art::StackHandleScope<1> hs(art::Thread::Current()); in GetClassLocation() local
371 art::Handle<art::mirror::Class> hs_klass(hs.NewHandle(soa.Decode<art::mirror::Class>(klass))); in GetClassLocation()
Dti_heap.cc697 art::StackHandleScope<1> hs(self); in IterateOverInstancesOfClass() local
703 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(klass_ptr->AsClass())); in IterateOverInstancesOfClass()
762 art::StackHandleScope<1> hs(self); in DoIterateThroughHeap() local
763 art::Handle<art::mirror::Class> filter_klass(hs.NewHandle(soa.Decode<art::mirror::Class>(klass))); in DoIterateThroughHeap()
1211 art::StackHandleScope<1> hs(self); in VisitClass() local
1212 art::Handle<art::mirror::Class> h_klass(hs.NewHandle<art::mirror::Class>(klass)); in VisitClass()
1909 art::StackHandleScope<2> hs(self); in ChangeArraySize() local
1910 art::Handle<art::mirror::Array> old_arr(hs.NewHandle(soa.Decode<art::mirror::Array>(arr))); in ChangeArraySize()
1911 art::MutableHandle<art::mirror::Array> new_arr(hs.NewHandle<art::mirror::Array>(nullptr)); in ChangeArraySize()
Dti_stack.cc576 art::VariableSizedHandleScope hs(current); in GetThreadListStackTraces() local
584 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i]))); in GetThreadListStackTraces()
851 hs(art::Thread::Current()), in REQUIRES_SHARED()
877 visitor->monitors.push_back(visitor->hs.NewHandle(owned_monitor)); in AppendOwnedMonitors()
888 monitors.push_back(hs.NewHandle(obj)); in VisitRoot()
892 art::VariableSizedHandleScope hs; member
Devents.cc324 art::StackHandleScope<1> hs(self); in ObjectAllocated() local
325 auto h = hs.NewHandleWrapper(obj); in ObjectAllocated()
761 art::StackHandleScope<1> hs(self); in MethodUnwind() local
762 art::Handle<art::mirror::Throwable> old_exception(hs.NewHandle(self->GetException())); in MethodUnwind()
980 art::StackHandleScope<1> hs(self); in FindCatchMethodsFromThrow() local
986 hs.NewHandle(exception->GetClass()), in FindCatchMethodsFromThrow()
Dti_thread.cc611 art::StackHandleScope<1> hs(self); in GetThreadState() local
614 art::Handle<art::mirror::Object> peer(hs.NewHandle(soa.Decode<art::mirror::Object>(thread))); in GetThreadState()
1083 art::StackHandleScope<1> hs(self); in StopThread() local
1091 art::Handle<art::mirror::Throwable> exc(hs.NewHandle(obj->AsThrowable())); in StopThread()
/art/compiler/optimizing/
Dsharpening.cc326 StackHandleScope<1> hs(soa.Self()); in ProcessLoadString() local
329 : hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file)); in ProcessLoadString()
Dinliner.cc559 StackHandleScope<1>* hs) in AllocateInlineCacheHolder() argument
563 Handle<mirror::ObjectArray<mirror::Class>> inline_cache = hs->NewHandle( in AllocateInlineCacheHolder()
612 StackHandleScope<1> hs(Thread::Current()); in TryInlineFromInlineCache() local
618 ? GetInlineCacheAOT(caller_dex_file, invoke_instruction, &hs, &inline_cache) in TryInlineFromInlineCache()
619 : GetInlineCacheJIT(invoke_instruction, &hs, &inline_cache); in TryInlineFromInlineCache()
673 StackHandleScope<1>* hs, in GetInlineCacheJIT() argument
688 *inline_cache = AllocateInlineCacheHolder(caller_compilation_unit_, hs); in GetInlineCacheJIT()
703 StackHandleScope<1>* hs, in GetInlineCacheAOT() argument
718 *inline_cache = AllocateInlineCacheHolder(caller_compilation_unit_, hs); in GetInlineCacheAOT()
/art/runtime/interpreter/
Dinterpreter.cc496 StackHandleScope<1> hs(self); in EnterInterpreterFromInvoke() local
497 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in EnterInterpreterFromInvoke()
678 StackHandleScope<1> hs(self); in ArtInterpreterToInterpreterBridge() local
679 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in ArtInterpreterToInterpreterBridge()
Dinterpreter_switch_impl-inl.h209 StackHandleScope<2> hs(self); in DoDexPcMoveEvent()
210 Handle<mirror::Throwable> thr(hs.NewHandle(self->GetException())); in DoDexPcMoveEvent()
213 hs.NewHandleWrapper(LIKELY(save_ref == nullptr) ? &null_obj : save_ref->GetGCRoot())); in DoDexPcMoveEvent()
512 StackHandleScope<1> hs(self); in RETURN_OBJECT()
513 MutableHandle<mirror::Object> h_result(hs.NewHandle(obj_result)); in RETURN_OBJECT()
/art/runtime/verifier/
Dreg_type_test.cc1097 VariableSizedHandleScope hs(soa.Self()); in TEST_F() local
1098 FillHeap(soa.Self(), class_linker, &hs); in TEST_F()
1112 StackHandleScope<4> hs(soa.Self()); in TestClassJoin() local
1114 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TestClassJoin()
1116 Handle<mirror::Class> c1(hs.NewHandle( in TestClassJoin()
1118 Handle<mirror::Class> c2(hs.NewHandle( in TestClassJoin()
Dverifier_deps.cc1015 StackHandleScope<2> hs(self); in VerifyAssignability() local
1017 MutableHandle<mirror::Class> source(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability()
1018 MutableHandle<mirror::Class> destination(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability()
1053 StackHandleScope<1> hs(self); in VerifyClasses() local
1055 MutableHandle<mirror::Class> cls(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClasses()
/art/test/common/
Druntime_state.cc246 StackHandleScope<1> hs(self); in ForceJitCompiled() local
247 Handle<mirror::Class> h_klass(hs.NewHandle(method->GetDeclaringClass())); in ForceJitCompiled()
/art/runtime/mirror/
Dvar_handle.cc1473 StackHandleScope<3> hs(Thread::Current()); in IsInvokerMethodTypeCompatible() local
1474 Handle<Class> mt_rtype(hs.NewHandle(method_type->GetRType())); in IsInvokerMethodTypeCompatible()
1475 Handle<VarHandle> vh(hs.NewHandle(this)); in IsInvokerMethodTypeCompatible()
1476 Handle<Class> var_type(hs.NewHandle(vh->GetVarType())); in IsInvokerMethodTypeCompatible()
1518 StackHandleScope<3> hs(self); in GetMethodTypeForAccessMode() local
1519 Handle<VarHandle> vh = hs.NewHandle(var_handle); in GetMethodTypeForAccessMode()
1520 Handle<Class> rtype = hs.NewHandle(GetReturnType(access_mode_template, vh->GetVarType())); in GetMethodTypeForAccessMode()
1526 hs.NewHandle(ObjectArray<Class>::Alloc(Thread::Current(), array_of_class, ptypes_count)); in GetMethodTypeForAccessMode()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc521 StackHandleScope<1> hs(soa.Self()); in CompileMethod() local
532 hs.NewHandle(class_linker->FindDexCache(soa.Self(), dex_file))); in CompileMethod()
/art/profman/
Dprofile_assistant_test.cc303 StackHandleScope<1> hs(soa.Self()); in GetClass() local
304 Handle<mirror::ClassLoader> h_loader(hs.NewHandle( in GetClass()
1027 StackHandleScope<3> hs(soa.Self()); in TEST_F() local
1028 Handle<mirror::Class> sub_a = hs.NewHandle(GetClass(soa, class_loader, "LSubA;")); in TEST_F()
1029 Handle<mirror::Class> sub_b = hs.NewHandle(GetClass(soa, class_loader, "LSubB;")); in TEST_F()
1030 Handle<mirror::Class> sub_c = hs.NewHandle(GetClass(soa, class_loader, "LSubC;")); in TEST_F()
/art/runtime/jni/
Djni_internal.cc306 StackHandleScope<1> hs(self); in EnsureInitialized() local
307 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in EnsureInitialized()
345 StackHandleScope<2> hs(soa.Self()); in FindFieldJNI() local
347 hs.NewHandle(EnsureInitialized(soa.Self(), soa.Decode<mirror::Class>(jni_class)))); in FindFieldJNI()
357 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(c->GetClassLoader())); in FindFieldJNI()
501 StackHandleScope<1> hs(soa.Self()); in FindClass() local
502 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(GetClassLoader<kEnableIndexIds>(soa))); in FindClass()
620 StackHandleScope<1> hs(soa.Self()); in ExceptionDescribe() local
622 hs.NewHandle<mirror::Throwable>(soa.Self()->GetException())); in ExceptionDescribe()
1913 StackHandleScope<1> hs(soa.Self()); in GetStringCritical() local
[all …]

123456