Home
last modified time | relevance | path

Searched refs:thd (Results 1 – 8 of 8) sorted by relevance

/art/test/1932-monitor-events-misc/src/art/
DTest1932.java26 public default void handleMonitorEnter(Thread thd, Object lock) {} in handleMonitorEnter() argument
27 public default void handleMonitorEntered(Thread thd, Object lock) {} in handleMonitorEntered() argument
28 public default void handleMonitorWait(Thread thd, Object lock, long timeout) {} in handleMonitorWait() argument
29 public default void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) {} in handleMonitorWaited() argument
179 @Override public void handleMonitorEntered(Thread thd, Object l) { in testRecursiveMontiorEnteredLock()
203 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { in testWaitedMonitorEnter()
234 @Override public void handleMonitorWait(Thread thd, Object l, long timeout) { in testWaitMonitorEnter()
262 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { in testWaitExitInterleaving()
289 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { in testWaitEnterInterleaving()
325 @Override public void handleMonitorEnter(Thread thd, Object l) { in testMonitorInfoInEvents()
[all …]
DMonitors.java141 public boolean IsWorkerThread(Thread thd) { in IsWorkerThread() argument
142 return Objects.equals(runner, thd); in IsWorkerThread()
/art/test/1931-monitor-events/src/art/
DTest1931.java41 public static void handleMonitorEnter(Thread thd, Object lock) { in handleMonitorEnter() argument
42 System.out.println(thd.getName() + " contended-LOCKING " + lock); in handleMonitorEnter()
45 public static void handleMonitorEntered(Thread thd, Object lock) { in handleMonitorEntered() argument
46 System.out.println(thd.getName() + " LOCKED " + lock); in handleMonitorEntered()
48 public static void handleMonitorWait(Thread thd, Object lock, long timeout) { in handleMonitorWait() argument
49 System.out.println(thd.getName() + " start-monitor-wait " + lock + " timeout: " + timeout); in handleMonitorWait()
52 public static void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) { in handleMonitorWaited() argument
53 System.out.println(thd.getName() + " monitor-waited " + lock + " timed_out: " + timed_out); in handleMonitorWaited()
138 Thread thd = new Thread(() -> { in testUnlockedWait() local
146 thd.start(); in testUnlockedWait()
[all …]
DMonitors.java141 public boolean IsWorkerThread(Thread thd) { in IsWorkerThread() argument
142 return Objects.equals(runner, thd); in IsWorkerThread()
/art/openjdkjvmti/
Dti_object.cc102 for (art::Thread* thd : info.waiters_) { in GetObjectMonitorUsage()
105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
111 for (art::Thread* thd : art::Runtime::Current()->GetThreadList()->GetList()) { in GetObjectMonitorUsage()
112 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java141 public boolean IsWorkerThread(Thread thd) { in IsWorkerThread() argument
142 return Objects.equals(runner, thd); in IsWorkerThread()
/art/test/1930-monitor-info/src/art/
DMonitors.java141 public boolean IsWorkerThread(Thread thd) { in IsWorkerThread() argument
142 return Objects.equals(runner, thd); in IsWorkerThread()
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java141 public boolean IsWorkerThread(Thread thd) { in IsWorkerThread() argument
142 return Objects.equals(runner, thd); in IsWorkerThread()