Lines Matching refs:art
43 namespace art {
57 class JvmtiAllocationListener : public art::gc::AllocationListener {
60 void ObjectAllocated(art::Thread* self,
61 art::ObjPtr<art::mirror::Object>* obj,
62 size_t cnt) override REQUIRES_SHARED(art::Locks::mutator_lock_);
63 bool HasPreAlloc() const override REQUIRES_SHARED(art::Locks::mutator_lock_);
64 void PreObjectAllocated(art::Thread* self,
65 art::MutableHandle<art::mirror::Class> type,
66 size_t* byte_count) override REQUIRES_SHARED(art::Locks::mutator_lock_);
77 virtual void ObjectAllocated(art::Thread* self,
78 art::ObjPtr<art::mirror::Object>* obj,
79 size_t byte_count) REQUIRES_SHARED(art::Locks::mutator_lock_) = 0;
89 void PauseAllocations(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
90 void ResumeAllocations(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
92 void EnableAllocationCallback(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
93 void DisableAllocationCallback(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
97 void PauseForAllocation(art::Thread* self, T msg) REQUIRES_SHARED(art::Locks::mutator_lock_);
98 void IncrListenerInstall(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
99 void DecrListenerInstall(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_);
104 std::atomic<art::Thread*> allocations_paused_thread_ = nullptr;
107 art::Mutex alloc_listener_mutex_ ACQUIRED_AFTER(art::Locks::user_code_suspension_lock_);
108 art::ConditionVariable alloc_pause_cv_;