Home
last modified time | relevance | path

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

123

/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
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
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
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/test/1930-monitor-info/
Dexpected.txt2 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testSingleThread], owner: <NULL>, entry…
3 Thread[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testSingleThread], owner: main, entryCoun…
5 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testSingleThread], owner: <NULL>, entry…
6 Thread[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testSingleThread], owner: main, entryCoun…
8 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwice], owner: <NULL>, entryC…
9 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwice], owner: main, entryCou…
10 Thread[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwice], owner: main, entryCount…
12 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwiceNative], owner: <NULL>, …
13 Pre-lock[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwiceNative], owner: main, en…
14 Thread[main]: MonitorUsage{ monitor: NamedLock[Test1930 - testLockedTwiceNative], owner: main, entr…
[all …]
/art/test/1922-owned-monitors-info/
Dexpected.txt5 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")]
9 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")]
13 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")]
15 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")]
17 …("Lock 1"), NamedLock("Lock 2"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")]
19 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")]
21 …dLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor"), class art.Test…
23 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monitor")]
27 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")]
31 … monitors: [NamedLock("Lock 1"), NamedLock("Lock 3"), Target("Current thread test: owned-monitor")]
[all …]
/art/openjdkjvmti/
Dti_monitor.h44 static jvmtiError DestroyRawMonitor(jvmtiEnv* env, jrawMonitorID monitor);
46 static jvmtiError RawMonitorEnterNoSuspend(jvmtiEnv* env, jrawMonitorID monitor);
48 static jvmtiError RawMonitorEnter(jvmtiEnv* env, jrawMonitorID monitor);
50 static jvmtiError RawMonitorExit(jvmtiEnv* env, jrawMonitorID monitor);
52 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis);
54 static jvmtiError RawMonitorNotify(jvmtiEnv* env, jrawMonitorID monitor);
56 static jvmtiError RawMonitorNotifyAll(jvmtiEnv* env, jrawMonitorID monitor);
58 static jvmtiError GetCurrentContendedMonitor(jvmtiEnv* env, jthread thr, jobject* monitor);
Dti_monitor.cc62 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy() argument
64 art::Thread* owner_thread = monitor->owner_.load(std::memory_order_relaxed); in Destroy()
69 if (monitor->count_ > 0) { in Destroy()
70 monitor->count_ = 0; in Destroy()
71 monitor->owner_.store(nullptr, std::memory_order_relaxed); in Destroy()
72 monitor->mutex_.unlock(); in Destroy()
75 delete monitor; in Destroy()
220 static jrawMonitorID EncodeMonitor(JvmtiMonitor* monitor) { in EncodeMonitor() argument
221 return reinterpret_cast<jrawMonitorID>(monitor); in EncodeMonitor()
235 JvmtiMonitor* monitor = new JvmtiMonitor(); in CreateRawMonitor() local
[all …]
/art/test/1931-monitor-events/
Dexpected.txt5 ParkThread start-monitor-wait NamedLock[Parking blocker object] timeout: 1
6 ParkThread monitor-waited NamedLock[Parking blocker object] timed_out: true
7 Testing monitor wait.
8 Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0
9 Locker thread 2 for NamedLock[Lock testWait] monitor-waited NamedLock[Lock testWait] timed_out: fal…
10 Testing monitor timed wait.
11 Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] …
12 Locker thread 4 for NamedLock[Lock testTimedWait] monitor-waited NamedLock[Lock testTimedWait] time…
13 Testing monitor timed with timeout.
15 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTime…
[all …]
Djvm-expected.patch2 < ParkThread start-monitor-wait NamedLock[Parking blocker object] timeout: 1
3 < ParkThread monitor-waited NamedLock[Parking blocker object] timed_out: true
/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
DConstClassAliasing.smali9 monitor-enter v0
10 monitor-exit v1
Db_21873167.smali13 monitor-enter p0
14 monitor-exit p0
/art/test/1933-monitor-current-contended/
Dexpected.txt2 current thread is contending for monitor: null
3 Normal contended monitor
4 c2 is contending for monitor: NamedLock[test testNormalContendedMonitor]
5 Waiting on a monitor
6 c1 is contending for monitor: NamedLock[test testNormalWaitMonitor]
Dinfo.txt1 Tests jvmti monitor events in odd situations.
3 Checks that the JVMTI monitor events are correctly dispatched and handled for
/art/test/1932-monitor-events-misc/
Dexpected.txt11 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEnter], owner: <NULL>, entryCount…
18 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEntered], owner: <NULL>, entryCou…
26 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowBoth], owner: <NULL>, entryCount:…
28 Locker thread 8 for NamedLock[Lock testThrowWait] start-monitor-wait NamedLock[Lock testThrowWait] …
32 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWait], owner: <NULL>, entryCount: 0, …
34 Locker thread 9 for NamedLock[Lock testThrowIllegalWait] start-monitor-wait NamedLock[Lock testThro…
38 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowIllegalWait], owner: <NULL>, entryCou…
40 Locker thread 10 for NamedLock[Lock testThrowWaited] start-monitor-wait NamedLock[Lock testThrowWai…
41 Locker thread 10 for NamedLock[Lock testThrowWaited] monitor-waited NamedLock[Lock testThrowWaited]…
45 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWaited], owner: <NULL>, entryCount: 0…
[all …]
Dinfo.txt1 Tests jvmti monitor events in odd situations.
3 Checks that the JVMTI monitor events are correctly dispatched and handled for
/art/runtime/
Dmonitor_pool.cc49 VLOG(monitor) << "Expanding to capacity " in AllocateChunk()
118 VLOG(monitor) << "Allocating a new chunk."; in CreateMonitorInPool()
129 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool() local
131 return monitor; in CreateMonitorInPool()
134 void MonitorPool::ReleaseMonitorToPool(Thread* self, Monitor* monitor) { in ReleaseMonitorToPool() argument
139 MonitorId id = monitor->monitor_id_; in ReleaseMonitorToPool()
143 monitor->~Monitor(); in ReleaseMonitorToPool()
146 monitor->next_free_ = first_free_; in ReleaseMonitorToPool()
147 first_free_ = monitor; in ReleaseMonitorToPool()
150 monitor->monitor_id_ = id; in ReleaseMonitorToPool()
/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/682-double-catch-phi/smali/
DDoubleCatchPhi.smali30 monitor-enter v4
34 monitor-exit v2
40 monitor-exit v2
/art/test/1930-monitor-info/src/art/
DMonitors.java76 public final Object monitor; field in Monitors.MonitorUsage
83 Object monitor, in MonitorUsage() argument
88 this.monitor = monitor; in MonitorUsage()
102 monitor, in toString()
110 public static native MonitorUsage getObjectMonitorUsage(Object monitor); in getObjectMonitorUsage() argument

123