Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 36) sorted by relevance

12

/art/test/088-monitor-verification/smali/
DTooDeep.smali12 monitor-enter v2 # 1
13 monitor-enter v2 # 2
14 monitor-enter v2 # 3
15 monitor-enter v2 # 4
16 monitor-enter v2 # 5
17 monitor-enter v2 # 6
18 monitor-enter v2 # 7
19 monitor-enter v2 # 8
20 monitor-enter v2 # 9
21 monitor-enter v2 # 10
[all …]
DUnbalancedJoin.smali14 monitor-enter v1 # 1
15 monitor-enter v2 # 2
19 monitor-enter v2 # 1
20 monitor-enter v1 # 2
26 monitor-exit v2 # 2
27 monitor-exit v1 # 1
DOK.smali34 monitor-enter v1 # 1
35 monitor-enter v2 # 2
37 monitor-exit v2 # 2
38 monitor-exit v1 # 1
49 monitor-enter v1 # 1
55 monitor-enter v2 # 2
59 monitor-enter v2 # 2
63 monitor-exit v2 # 2
64 monitor-exit v1 # 1
DNullLocks.smali13 monitor-enter v0
16 monitor-exit v1
18 monitor-enter v0
19 monitor-exit v1
21 monitor-enter v1
22 monitor-exit v0
DNotStructuredOverUnlock.smali12 monitor-enter v2 # 1
13 monitor-enter v2 # 2
15 monitor-exit v2 # 1
16 monitor-exit v2 # 2
17 monitor-exit v2 # 3
DNotStructuredUnderUnlock.smali12 monitor-enter v2 # 1
13 monitor-enter v2 # 2
14 monitor-enter v2 # 3
16 monitor-exit v2 # 1
17 monitor-exit v2 # 2
DUnbalancedStraight.smali10 monitor-enter v1 # 1
11 monitor-enter v2 # 2
13 monitor-exit v1 # 1 Unbalanced unlock.
14 monitor-exit v2 # 2
/art/runtime/openjdkjvmti/
Dti_monitor.cc57 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy() argument
59 art::Thread* owner_thread = monitor->owner_.load(std::memory_order_relaxed); in Destroy()
64 if (monitor->count_ > 0) { in Destroy()
65 monitor->count_ = 0; in Destroy()
66 monitor->owner_.store(nullptr, std::memory_order_relaxed); in Destroy()
67 monitor->mutex_.unlock(); in Destroy()
70 delete monitor; in Destroy()
176 static jrawMonitorID EncodeMonitor(JvmtiMonitor* monitor) { in EncodeMonitor() argument
177 return reinterpret_cast<jrawMonitorID>(monitor); in EncodeMonitor()
191 JvmtiMonitor* monitor = new JvmtiMonitor(); in CreateRawMonitor() local
[all …]
Dti_monitor.h44 static jvmtiError DestroyRawMonitor(jvmtiEnv* env, jrawMonitorID monitor);
46 static jvmtiError RawMonitorEnter(jvmtiEnv* env, jrawMonitorID monitor);
48 static jvmtiError RawMonitorExit(jvmtiEnv* env, jrawMonitorID monitor);
50 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
52 static jvmtiError RawMonitorNotify(jvmtiEnv* env, jrawMonitorID monitor);
54 static jvmtiError RawMonitorNotifyAll(jvmtiEnv* env, jrawMonitorID monitor);
DOpenjdkJvmTi.cc980 static jvmtiError DestroyRawMonitor(jvmtiEnv* env, jrawMonitorID monitor) { in DestroyRawMonitor() argument
982 return MonitorUtil::DestroyRawMonitor(env, monitor); in DestroyRawMonitor()
985 static jvmtiError RawMonitorEnter(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorEnter() argument
987 return MonitorUtil::RawMonitorEnter(env, monitor); in RawMonitorEnter()
990 static jvmtiError RawMonitorExit(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorExit() argument
992 return MonitorUtil::RawMonitorExit(env, monitor); in RawMonitorExit()
995 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait() argument
997 return MonitorUtil::RawMonitorWait(env, monitor, millis); in RawMonitorWait()
1000 static jvmtiError RawMonitorNotify(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorNotify() argument
1002 return MonitorUtil::RawMonitorNotify(env, monitor); in RawMonitorNotify()
[all …]
/art/test/800-smali/smali/
Db_23300986.smali7 monitor-enter v2 # Lock on parameter
9 monitor-exit v1 # Unlock on alias
10 monitor-enter v2 # Do it again.
11 monitor-exit v1
18 monitor-enter v2 # Lock on parameter
19 monitor-exit v1 # Unlock on alias
20 monitor-enter v2 # Do it again.
21 monitor-exit v1
Db_23502994.smali7 monitor-enter v2 # Lock on parameter
16 monitor-exit v2
21 monitor-exit v2 # Unlock the else branch
33 monitor-enter v2 # Lock on parameter
41 monitor-exit v2
Db_21873167.smali13 monitor-enter p0
14 monitor-exit p0
Db_26594149_5.smali24 monitor-enter v0
25 monitor-exit v0
/art/runtime/
Dmonitor_pool.cc49 VLOG(monitor) << "Expanding to capacity " in AllocateChunk()
116 VLOG(monitor) << "Allocating a new chunk."; in CreateMonitorInPool()
127 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool() local
129 return monitor; in CreateMonitorInPool()
132 void MonitorPool::ReleaseMonitorToPool(Thread* self, Monitor* monitor) { in ReleaseMonitorToPool() argument
137 MonitorId id = monitor->monitor_id_; in ReleaseMonitorToPool()
141 monitor->~Monitor(); in ReleaseMonitorToPool()
144 monitor->next_free_ = first_free_; in ReleaseMonitorToPool()
145 first_free_ = monitor; in ReleaseMonitorToPool()
148 monitor->monitor_id_ = id; in ReleaseMonitorToPool()
Dmonitor.cc474 if (!Runtime::Current()->IsStarted() || VLOG_IS_ON(monitor)) { in ThrowIllegalMonitorStateExceptionF()
496 Monitor* monitor) { in FailedUnlock() argument
509 Thread* current_owner = (monitor != nullptr) ? monitor->GetOwner() : nullptr; in FailedUnlock()
776 Monitor* monitor = lw.FatLockMonitor(); in Deflate() local
777 DCHECK(monitor != nullptr); in Deflate()
778 MutexLock mu(self, monitor->monitor_lock_); in Deflate()
780 if (monitor->num_waiters_ > 0) { in Deflate()
783 Thread* owner = monitor->owner_; in Deflate()
786 if (monitor->HasHashCode()) { in Deflate()
790 if (static_cast<uint32_t>(monitor->lock_count_) > LockWord::kThinLockMaxCount) { in Deflate()
[all …]
Dmonitor_pool.h56 static void ReleaseMonitor(Thread* self, Monitor* monitor) { in ReleaseMonitor() argument
59 delete monitor; in ReleaseMonitor() local
61 GetMonitorPool()->ReleaseMonitorToPool(self, monitor); in ReleaseMonitor()
128 void ReleaseMonitorToPool(Thread* self, Monitor* monitor);
Dparsed_options_test.cc100 EXPECT_FALSE(VLOG_IS_ON(monitor)); in TEST_F()
/art/test/522-checker-regression-monitor-exit/
Dinfo.txt1 Regression test for removal of monitor-exit due to lack of specified side-effects.
3 If monitor-exit is removed, the following threads will get stuck and timeout.
/art/test/522-checker-regression-monitor-exit/smali/
DTest.smali31 monitor-enter p0
36 monitor-exit p0
/art/test/596-monitor-inflation/
Dinfo.txt4 This allocates more monitors and hence may exercise the monitor pool
/art/runtime/base/
Dlogging.h47 bool monitor; member
/art/runtime/openjdkjvmti/include/
Djvmti.h526 jobject monitor; member
1183 jrawMonitorID monitor);
1187 jrawMonitorID monitor);
1191 jrawMonitorID monitor);
1195 jrawMonitorID monitor,
1200 jrawMonitorID monitor);
1204 jrawMonitorID monitor);
2359 jvmtiError DestroyRawMonitor(jrawMonitorID monitor) { in DestroyRawMonitor()
2360 return functions->DestroyRawMonitor(this, monitor); in DestroyRawMonitor()
2363 jvmtiError RawMonitorEnter(jrawMonitorID monitor) { in RawMonitorEnter()
[all …]
/art/runtime/mirror/
Dobject.cc214 Monitor* monitor = lw.FatLockMonitor(); in IdentityHashCode() local
215 DCHECK(monitor != nullptr); in IdentityHashCode()
216 return monitor->GetHashCode(); in IdentityHashCode()
/art/test/121-modifiers/smali/
DNonInf.smali159 monitor-enter p0
164 monitor-exit p0

12