Searched refs:self_ (Results 1 - 25 of 28) sorted by relevance

12

/art/runtime/gc/
H A Dscoped_gc_critical_section.cc30 : self_(self) {
37 if (self_ != nullptr) {
38 self_->EndAssertNoThreadSuspension(old_cause_);
40 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone);
H A Dscoped_gc_critical_section.h40 Thread* const self_; member in class:art::gc::ScopedGCCriticalSection
/art/runtime/
H A Dobject_lock.cc26 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) {
28 obj_->MonitorEnter(self_);
33 obj_->MonitorExit(self_);
38 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting);
43 obj_->Notify(self_);
48 obj_->NotifyAll(self_);
52 ObjectTryLock<T>::ObjectTryLock(Thread* self, Handle<T> object) : self_(self), obj_(object) {
54 acquired_ = obj_->MonitorTryEnter(self_) != nullptr;
60 obj_->MonitorExit(self_);
H A Dscoped_thread_state_change-inl.h30 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) {
31 if (UNLIKELY(self_ == nullptr)) {
35 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_));
43 self_->TransitionFromSuspendedToRunnable();
45 self_->TransitionFromRunnableToSuspended(new_thread_state);
48 self_->SetState(new_thread_state);
55 if (UNLIKELY(self_ == nullptr)) {
64 self_->TransitionFromSuspendedToRunnable();
66 self_->TransitionFromRunnableToSuspended(old_thread_state_);
69 self_
[all...]
H A Dobject_lock.h42 Thread* const self_; member in class:art::ObjectLock
60 Thread* const self_; member in class:art::ObjectTryLock
H A Dscoped_thread_state_change.h50 return self_;
57 Thread* const self_ = nullptr; member in class:art::ScopedThreadStateChange
72 return self_;
115 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {}
124 Thread* const self_; member in class:art::ScopedObjectAccessAlreadyRunnable
203 Thread* const self_; member in class:art::ScopedThreadSuspension
H A Dhandle_scope-inl.h47 self_(self) {
49 self_->PushHandleScope(this);
54 BaseHandleScope* top_handle_scope = self_->PopHandleScope();
57 Locks::mutator_lock_->AssertSharedHeld(self_);
201 self_(self) {
203 self_->PushHandleScope(this);
207 BaseHandleScope* top_handle_scope = self_->PopHandleScope();
H A Dquick_exception_handler.cc42 : self_(self),
147 self_->DumpStack(LOG_STREAM(INFO) << "Delivering exception: " << exception->PrettyTypeOf()
150 StackHandleScope<1> hs(self_);
154 CatchBlockStackVisitor visitor(self_, context_, &exception_ref, this);
170 DCHECK(!self_->IsExceptionPending());
173 self_->SetException(exception_ref.Get());
221 self_->DumpStack(LOG_STREAM(INFO) << "Setting catch phis: ");
512 self_->SetException(Thread::GetDeoptimizationException());
518 reinterpret_cast<uint8_t*>(self_) + offset);
525 self_
[all...]
H A Dquick_exception_handler.h137 Thread* const self_; member in class:art::QuickExceptionHandler
H A Dthread.h1677 self_ = Thread::Current();
1678 old_cause_ = self_->StartAssertNoThreadSuspension(cause);
1685 self_->EndAssertNoThreadSuspension(old_cause_);
1692 Thread* self_; member in class:art::ScopedAssertNoThreadSuspension
1699 : self_(self), type_(type) {
1700 self_->PushStackedShadowFrame(sf, type);
1703 self_->PopStackedShadowFrame(type_);
1707 Thread* const self_; member in class:art::ScopedStackedShadowFramePusher
1716 explicit ScopedDebugDisallowReadBarriers(Thread* self) : self_(self) {
1717 self_
1724 Thread* const self_; member in class:art::ScopedDebugDisallowReadBarriers
1744 Thread* const self_; member in class:art::ScopedTransitioningToRunnable
[all...]
H A Dhandle_scope.h267 return self_;
273 Thread* const self_; variable
311 Thread* const self_; member in class:art::VariableSizedHandleScope
H A Dthread.cc2030 explicit MonitorExitVisitor(Thread* self) : self_(self) { }
2035 if (self_->HoldsLock(entered_monitor)) {
2040 entered_monitor->MonitorExit(self_);
2045 Thread* const self_; member in class:art::MonitorExitVisitor
2370 self_(self),
2379 StackHandleScope<1> hs(self_);
2388 self_->StartAssertNoThreadSuspension("Building internal stack trace");
2389 self_->AssertPendingOOMException();
2393 class_linker->AllocPointerArray(self_, depth * 2);
2395 self_
2449 Thread* const self_; member in class:art::BuildInternalStackTraceVisitor
[all...]
H A Dmonitor.cc1417 MonitorDeflateVisitor() : self_(Thread::Current()), deflate_count_(0) {}
1421 if (Monitor::Deflate(self_, object)) {
1430 Thread* const self_; member in class:art::MonitorDeflateVisitor
1436 Locks::mutator_lock_->AssertExclusiveHeld(visitor.self_);
/art/runtime/entrypoints/quick/
H A Dcallee_save_frame.h43 REQUIRES_SHARED(Locks::mutator_lock_) : self_(self), exit_check_(exit_check) {
50 : self_(kIsDebugBuild ? Thread::Current() : nullptr), exit_check_(kIsDebugBuild) {
64 Locks::mutator_lock_->AssertSharedHeld(self_);
65 self_->VerifyStack();
69 Locks::mutator_lock_->AssertSharedHeld(self_);
70 self_->VerifyStack();
73 Thread* const self_; member in class:art::ScopedQuickEntrypointChecks
/art/runtime/base/
H A Dmutex.h500 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) {
501 mu_.ExclusiveLock(self_);
505 mu_.ExclusiveUnlock(self_);
509 Thread* const self_; member in class:art::MutexLock
521 self_(self), mu_(mu) {
522 mu_.SharedLock(self_);
526 mu_.SharedUnlock(self_);
530 Thread* const self_; member in class:art::ReaderMutexLock
543 self_(self), mu_(mu) {
544 mu_.ExclusiveLock(self_);
552 Thread* const self_; member in class:art::WriterMutexLock
[all...]
/art/runtime/openjdkjvmti/
H A Dti_redefine.cc298 GetMirrorClass()->MonitorEnter(driver_->self_);
303 GetMirrorClass()->MonitorExit(driver_->self_);
446 return driver_->self_->DecodeJObject(klass_)->AsClass();
471 driver_->self_,
541 art::MutexLock mu(driver_->self_, *art::Locks::thread_list_lock_);
560 art::StackHandleScope<1> hs(driver_->self_);
618 art::StackHandleScope<1> hs(driver_->self_);
685 art::StackHandleScope<1> hs(driver_->self_);
762 art::StackHandleScope<1> hs(driver_->self_);
1063 art::StackHandleScope<2> hs(driver_->self_);
1267 art::Thread* self_; member in class:openjdkjvmti::ScopedDisableConcurrentAndMovingGc
[all...]
H A Dti_redefine.h213 art::Thread* self_; member in class:openjdkjvmti::Redefiner
224 self_(self),
H A Dti_heap.cc1389 explicit ReportClassVisitor(art::Thread* self) : self_(self) {}
1393 classes_.push_back(self_->GetJniEnv()->AddLocalReference<jclass>(klass));
1397 art::Thread* self_; member in class:openjdkjvmti::ReportClassVisitor
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc84 explicit ClassSet(Thread* const self) : self_(self) {
85 self_->GetJniEnv()->PushFrame(kClassSetCapacity);
89 self_->GetJniEnv()->PopFrame();
93 class_set_.insert(self_->GetJniEnv()->AddLocalReference<jclass>(klass.Ptr()));
101 Thread* const self_; member in class:art::ClassSet
/art/runtime/gc/collector/
H A Dsemi_space.cc65 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_);
100 self_(nullptr),
154 self_ = Thread::Current();
177 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_));
179 Locks::mutator_lock_->AssertExclusiveHeld(self_);
182 ThreadState old_state = self_->SetStateUnsafe(kRunnable);
188 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable);
215 Locks::mutator_lock_->AssertExclusiveHeld(self_);
239 heap_->RevokeAllThreadLocalAllocationStacks(self_);
243 WriterMutexLock mu(self_, *Lock
[all...]
H A Dsemi_space.h223 Thread* self_; member in class:art::gc::collector::SemiSpace
/art/runtime/verifier/
H A Dmethod_verifier.cc555 : self_(self),
1096 DCHECK(self_->IsExceptionPending());
1097 self_->ClearException();
1872 self_->AllowThreadSuspension();
2909 DCHECK(!can_load_classes_ || self_->IsExceptionPending());
2910 self_->ClearException();
2952 DCHECK(!can_load_classes_ || self_->IsExceptionPending());
2953 self_->ClearException();
3608 DCHECK(self_->IsExceptionPending());
3609 self_
[all...]
H A Dmethod_verifier.h691 Thread* const self_; member in class:art::verifier::MethodVerifier
/art/runtime/mirror/
H A Dclass.cc1063 : self_(self), orig_(orig), new_length_(new_length),
1069 StackHandleScope<1> hs(self_);
1072 Class::SetStatus(h_new_class_obj, Class::kStatusResolving, self_);
1083 Thread* const self_; member in class:art::mirror::CopyClassVisitor
/art/compiler/optimizing/
H A Dinliner.cc300 self_(self),
311 Runtime::Current()->GetJit()->GetCodeCache()->DoneCompilerUse(method_, self_);
319 Thread* const self_; member in class:art::ScopedProfilingInfoInlineUse

Completed in 1137 milliseconds

12