• Home
  • Raw
  • Download

Lines Matching refs:self

27 static void UnstartedRuntimeJni(Thread* self, ArtMethod* method,  in UnstartedRuntimeJni()  argument
36 mirror::Class* array_class = runtime->GetClassLinker()->FindArrayClass(self, &element_class); in UnstartedRuntimeJni()
39 result->SetL(mirror::Array::Alloc<true>(self, array_class, length, in UnstartedRuntimeJni()
44 NthCallerVisitor visitor(self, 3); in UnstartedRuntimeJni()
52 StackHandleScope<1> hs(self); in UnstartedRuntimeJni()
63 result->SetL(receiver->Clone(self)); in UnstartedRuntimeJni()
65 receiver->NotifyAll(self); in UnstartedRuntimeJni()
75 StackHandleScope<2> hs(self); in UnstartedRuntimeJni()
78 result->SetL(Array::CreateMultiArray(self, h_class, h_dimensions)); in UnstartedRuntimeJni()
80 ScopedObjectAccessUnchecked soa(self); in UnstartedRuntimeJni()
82 result->SetL(soa.Decode<Object*>(self->CreateInternalStackTrace<true>(soa))); in UnstartedRuntimeJni()
84 result->SetL(soa.Decode<Object*>(self->CreateInternalStackTrace<false>(soa))); in UnstartedRuntimeJni()
123 AbortTransaction(self, "Attempt to invoke native method in non-started runtime: %s", in UnstartedRuntimeJni()
132 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, in InterpreterJni() argument
137 ScopedObjectAccessUnchecked soa(self); in InterpreterJni()
146 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
155 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
162 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
169 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
176 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
187 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
196 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
205 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
212 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
219 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
230 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
241 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
250 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
261 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
275 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
284 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
295 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
299 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
305 ScopedThreadStateChange tsc(self, kNative); in InterpreterJni()
325 JValue ExecuteGotoImpl(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in ExecuteGotoImpl() argument
332 JValue ExecuteGotoImpl<true, false>(Thread* self, MethodHelper& mh,
336 JValue ExecuteGotoImpl<false, false>(Thread* self, MethodHelper& mh,
340 JValue ExecuteGotoImpl<true, true>(Thread* self, MethodHelper& mh,
344 JValue ExecuteGotoImpl<false, true>(Thread* self, MethodHelper& mh,
349 static JValue Execute(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item,
353 static inline JValue Execute(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in Execute() argument
359 shadow_frame.GetMethod()->GetDeclaringClass()->AssertInitializedOrInitializingInThread(self); in Execute()
366 return ExecuteSwitchImpl<false, true>(self, mh, code_item, shadow_frame, result_register); in Execute()
368 return ExecuteSwitchImpl<false, false>(self, mh, code_item, shadow_frame, result_register); in Execute()
373 return ExecuteGotoImpl<false, true>(self, mh, code_item, shadow_frame, result_register); in Execute()
375 return ExecuteGotoImpl<false, false>(self, mh, code_item, shadow_frame, result_register); in Execute()
382 return ExecuteSwitchImpl<true, true>(self, mh, code_item, shadow_frame, result_register); in Execute()
384 return ExecuteSwitchImpl<true, false>(self, mh, code_item, shadow_frame, result_register); in Execute()
389 return ExecuteGotoImpl<true, true>(self, mh, code_item, shadow_frame, result_register); in Execute()
391 return ExecuteGotoImpl<true, false>(self, mh, code_item, shadow_frame, result_register); in Execute()
397 void EnterInterpreterFromInvoke(Thread* self, ArtMethod* method, Object* receiver, in EnterInterpreterFromInvoke() argument
399 DCHECK_EQ(self, Thread::Current()); in EnterInterpreterFromInvoke()
401 if (UNLIKELY(__builtin_frame_address(0) < self->GetStackEndForInterpreter(implicit_check))) { in EnterInterpreterFromInvoke()
402 ThrowStackOverflowError(self); in EnterInterpreterFromInvoke()
406 const char* old_cause = self->StartAssertNoThreadSuspension("EnterInterpreterFromInvoke"); in EnterInterpreterFromInvoke()
414 self->EndAssertNoThreadSuspension(old_cause); in EnterInterpreterFromInvoke()
426 ShadowFrame* last_shadow_frame = self->GetManagedStack()->GetTopShadowFrame(); in EnterInterpreterFromInvoke()
429 self->PushShadowFrame(shadow_frame); in EnterInterpreterFromInvoke()
459 self->EndAssertNoThreadSuspension(old_cause); in EnterInterpreterFromInvoke()
463 StackHandleScope<1> hs(self); in EnterInterpreterFromInvoke()
466 CHECK(self->IsExceptionPending()); in EnterInterpreterFromInvoke()
467 self->PopShadowFrame(); in EnterInterpreterFromInvoke()
472 StackHandleScope<1> hs(self); in EnterInterpreterFromInvoke()
474 JValue r = Execute(self, mh, code_item, *shadow_frame, JValue()); in EnterInterpreterFromInvoke()
485 UnstartedRuntimeJni(self, method, receiver, args, result); in EnterInterpreterFromInvoke()
487 InterpreterJni(self, method, shorty, receiver, args, result); in EnterInterpreterFromInvoke()
490 self->PopShadowFrame(); in EnterInterpreterFromInvoke()
493 void EnterInterpreterFromDeoptimize(Thread* self, ShadowFrame* shadow_frame, JValue* ret_val) in EnterInterpreterFromDeoptimize() argument
498 self->SetTopOfShadowStack(shadow_frame); in EnterInterpreterFromDeoptimize()
499 StackHandleScope<1> hs(self); in EnterInterpreterFromDeoptimize()
502 value = Execute(self, mh, code_item, *shadow_frame, value); in EnterInterpreterFromDeoptimize()
510 JValue EnterInterpreterFromStub(Thread* self, MethodHelper& mh, const DexFile::CodeItem* code_item, in EnterInterpreterFromStub() argument
512 DCHECK_EQ(self, Thread::Current()); in EnterInterpreterFromStub()
514 if (UNLIKELY(__builtin_frame_address(0) < self->GetStackEndForInterpreter(implicit_check))) { in EnterInterpreterFromStub()
515 ThrowStackOverflowError(self); in EnterInterpreterFromStub()
519 return Execute(self, mh, code_item, shadow_frame, JValue()); in EnterInterpreterFromStub()
522 extern "C" void artInterpreterToInterpreterBridge(Thread* self, MethodHelper& mh, in artInterpreterToInterpreterBridge() argument
526 if (UNLIKELY(__builtin_frame_address(0) < self->GetStackEndForInterpreter(implicit_check))) { in artInterpreterToInterpreterBridge()
527 ThrowStackOverflowError(self); in artInterpreterToInterpreterBridge()
531 self->PushShadowFrame(shadow_frame); in artInterpreterToInterpreterBridge()
537 StackHandleScope<1> hs(self); in artInterpreterToInterpreterBridge()
541 DCHECK(self->IsExceptionPending()); in artInterpreterToInterpreterBridge()
542 self->PopShadowFrame(); in artInterpreterToInterpreterBridge()
550 result->SetJ(Execute(self, mh, code_item, *shadow_frame, JValue()).GetJ()); in artInterpreterToInterpreterBridge()
557 UnstartedRuntimeJni(self, method, receiver, args, result); in artInterpreterToInterpreterBridge()
560 self->PopShadowFrame(); in artInterpreterToInterpreterBridge()