/art/runtime/ |
D | monitor_pool.h | 45 static Monitor* CreateMonitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in CreateMonitor() 48 Monitor* mon = new Monitor(self, owner, obj, hash_code); in CreateMonitor() 56 static void ReleaseMonitor(Thread* self, Monitor* monitor) { in ReleaseMonitor() 74 static Monitor* MonitorFromMonitorId(MonitorId mon_id) { in MonitorFromMonitorId() 76 return reinterpret_cast<Monitor*>(mon_id << LockWord::kMonitorIdAlignmentShift); in MonitorFromMonitorId() 82 static MonitorId MonitorIdFromMonitor(Monitor* mon) { in MonitorIdFromMonitor() 90 static MonitorId ComputeMonitorId(Monitor* mon, Thread* self) { in ComputeMonitorId() 115 Monitor* CreateMonitorInPool(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) 118 void ReleaseMonitorToPool(Thread* self, Monitor* monitor); 122 Monitor* LookupMonitor(MonitorId mon_id) { in LookupMonitor() [all …]
|
D | monitor_pool.cc | 71 Monitor* last = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(chunk) + in AllocateChunk() 78 Monitor* before = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(last) - in AllocateChunk() 87 DCHECK(last == reinterpret_cast<Monitor*>(chunk)); in AllocateChunk() 91 Monitor* MonitorPool::CreateMonitorInPool(Thread* self, Thread* owner, mirror::Object* obj, in CreateMonitorInPool() 103 Monitor* mon_uninitialized = first_free_; in CreateMonitorInPool() 110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool() 115 void MonitorPool::ReleaseMonitorToPool(Thread* self, Monitor* monitor) { in ReleaseMonitorToPool() 124 monitor->~Monitor(); in ReleaseMonitorToPool() 135 for (Monitor* mon : *monitors) { in ReleaseMonitorsToPool()
|
D | monitor_pool_test.cc | 39 static void VerifyMonitor(Monitor* mon, Thread* self) { in VerifyMonitor() 49 std::vector<Monitor*> monitors; in TEST_F() 74 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr, static_cast<int32_t>(i)); in TEST_F() 81 Monitor* mon = monitors[index]; in TEST_F() 97 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr, in TEST_F() 105 for (Monitor* mon : monitors) { in TEST_F() 113 Monitor* mon = monitors[index]; in TEST_F() 121 for (Monitor* mon : monitors) { in TEST_F()
|
D | monitor.cc | 72 bool (*Monitor::is_sensitive_thread_hook_)() = nullptr; 73 uint32_t Monitor::lock_profiling_threshold_ = 0; 75 bool Monitor::IsSensitiveThread() { in IsSensitiveThread() 82 void Monitor::Init(uint32_t lock_profiling_threshold, bool (*is_sensitive_thread_hook)()) { in Init() 87 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in Monitor() function in art::Monitor 109 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, in Monitor() function in art::Monitor 131 int32_t Monitor::GetHashCode() { in GetHashCode() 141 bool Monitor::Install(Thread* self) { in Install() 181 Monitor::~Monitor() { in ~Monitor() 185 void Monitor::AppendToWaitSet(Thread* thread) { in AppendToWaitSet() [all …]
|
D | monitor.h | 50 class Monitor { 56 ~Monitor(); 151 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) 153 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, 182 Monitor* mon) 273 Monitor* next_free_ GUARDED_BY(Locks::allocated_monitor_ids_lock_); 280 DISALLOW_COPY_AND_ASSIGN(Monitor); 288 void Add(Monitor* m) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 299 typedef std::list<Monitor*, TrackingAllocator<Monitor*, kAllocatorTagMonitorList>> Monitors; 311 friend class Monitor; variable
|
D | lock_word-inl.h | 37 inline Monitor* LockWord::FatLockMonitor() const { in FatLockMonitor() 53 inline LockWord::LockWord(Monitor* mon, uint32_t rb_state) in LockWord()
|
D | monitor_linux.cc | 21 void Monitor::LogContentionEvent(Thread*, uint32_t, uint32_t, const char*, uint32_t) { in LogContentionEvent()
|
D | monitor_android.cc | 52 void Monitor::LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample_percent, in LogContentionEvent() 69 cp = EventLogWriteInt(cp, Monitor::IsSensitiveThread()); in LogContentionEvent()
|
D | lock_word.h | 32 class Monitor; variable 194 Monitor* FatLockMonitor() const; 200 explicit LockWord(Monitor* mon, uint32_t rb_state);
|
D | monitor_test.cc | 46 std::unique_ptr<Monitor> monitor_; 152 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run() 197 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run() 242 Monitor::Wait(self, monitor_test_->object_.Get(), 10, 0, true, in Run()
|
D | object_lock.cc | 37 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts()
|
D | thread.h | 81 class Monitor; variable 470 Monitor* GetWaitMonitor() const EXCLUSIVE_LOCKS_REQUIRED(wait_mutex_) { in GetWaitMonitor() 474 void SetWaitMonitor(Monitor* mon) EXCLUSIVE_LOCKS_REQUIRED(wait_mutex_) { in SetWaitMonitor() 1279 Monitor* wait_monitor_ GUARDED_BY(wait_mutex_);
|
D | runtime_options.def | 56 RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpins…
|
D | runtime.cc | 160 max_spins_before_thin_lock_inflation_(Monitor::kDefaultMaxSpinsBeforeThinLockInflation), in Runtime() 801 Monitor::Init(runtime_options.GetOrDefault(Opt::LockProfThreshold), in Init()
|
D | thread_list.cc | 56 CHECK(Monitor::IsValidLockWord(LockWord::FromThinLockId(kMaxThreadId, 1, 0U))); in ThreadList()
|
D | thread.cc | 1095 Monitor::DescribeWait(os, thread); in VisitFrame() 1099 Monitor::VisitLocks(this, DumpLockedObject, &os, false); in VisitFrame()
|
/art/test/003-omnibus-opcodes/src/ |
D | Monitor.java | 21 public class Monitor { class 53 new Monitor().subTest(); in run()
|
D | Main.java | 44 Monitor.run(); in run()
|
/art/test/003-omnibus-opcodes/ |
D | expected.txt | 49 Monitor.run
|
/art/runtime/mirror/ |
D | object.cc | 175 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCode() 182 Monitor* monitor = lw.FatLockMonitor(); in IdentityHashCode()
|
D | object-inl.h | 92 return Monitor::GetLockOwnerThreadId(this); in GetLockOwnerThreadId() 96 return Monitor::MonitorEnter(self, this); in MonitorEnter() 100 return Monitor::MonitorExit(self, this); in MonitorExit() 104 Monitor::Notify(self, this); in Notify() 108 Monitor::NotifyAll(self, this); in NotifyAll() 112 Monitor::Wait(self, this, 0, 0, true, kWaiting); in Wait() 116 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting); in Wait()
|
D | object.h | 31 class Monitor; variable 528 friend class art::Monitor;
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 166 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping); in Thread_sleep()
|
/art/compiler/ |
D | image_test.cc | 192 EXPECT_TRUE(Monitor::IsValidLockWord(klass->GetLockWord(false))); in TEST_F()
|
D | image_writer.cc | 276 Monitor::Deflate(Thread::Current(), object);; in SetImageBinSlot()
|