Home
last modified time | relevance | path

Searched defs:lk (Results 1 – 17 of 17) sorted by relevance

/art/test/1932-monitor-events-misc/src/art/
DTest1932.java109 public static native void doNativeLockPrint(Monitors.NamedLock lk); in doNativeLockPrint()
110 public static void printLockState(Monitors.NamedLock lk, Object exception, int res) { in printLockState()
117 public static void testNativeLockStateThrowEnter(final Monitors.NamedLock lk) throws Exception { in testNativeLockStateThrowEnter()
145 public static void testNativeLockStateThrowEntered(final Monitors.NamedLock lk) throws Exception { in testNativeLockStateThrowEntered()
175 public static void testRecursiveMontiorEnteredLock(final Monitors.NamedLock lk) throws Exception { in testRecursiveMontiorEnteredLock()
199 public static void testWaitedMonitorEnter(final Monitors.NamedLock lk) throws Exception { in testWaitedMonitorEnter()
231 public static void testWaitMonitorEnter(final Monitors.NamedLock lk) throws Exception { in testWaitMonitorEnter()
263 public static void testWaitExitInterleaving(Monitors.NamedLock lk) throws Exception { in testWaitExitInterleaving()
288 public static void testWaitEnterInterleaving(Monitors.NamedLock lk) throws Exception { in testWaitEnterInterleaving()
328 public static void testMonitorInfoInEvents(Monitors.NamedLock lk) throws Exception { in testMonitorInfoInEvents()
[all …]
/art/test/1930-monitor-info/src/art/
DTest1930.java25 Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testSingleThread"); in testSingleThread() local
29 Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testSingleThread"); in testSingleThreadNative() local
34 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwice"); in testLockedTwice() local
39 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceNJ"); in testLockedTwiceNJ() local
44 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceJN"); in testLockedTwiceJN() local
49 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceNative"); in testLockedTwiceNative() local
58 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockWait"); in testLockWait() local
92 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testNotifyWait"); in testNotifyWait() local
/art/test/1931-monitor-events/src/art/
DTest1931.java103 public static void testInteruptWait(final Monitors.NamedLock lk) throws Exception { in testInteruptWait()
120 public static void testIllegalWait(final Monitors.NamedLock lk) throws Exception { in testIllegalWait()
136 public static void testUnlockedWait(final Monitors.NamedLock lk) throws Exception { in testUnlockedWait()
151 public static void testLock(Monitors.NamedLock lk) throws Exception { in testLock()
166 public static void testWait(Monitors.NamedLock lk) throws Exception { in testWait()
181 public static void testTimedWait(Monitors.NamedLock lk) throws Exception { in testTimedWait()
198 public static void testTimedWaitTimeout(Monitors.NamedLock lk) throws Exception { in testTimedWaitTimeout()
/art/test/1933-monitor-current-contended/src/art/
DTest1933.java31 public static void testNormalWaitMonitor(final Monitors.NamedLock lk) throws Exception { in testNormalWaitMonitor()
48 public static void testNormalContendedMonitor(final Monitors.NamedLock lk) throws Exception { in testNormalContendedMonitor()
61 public static void testNoContention(final Monitors.NamedLock lk) throws Exception { in testNoContention()
/art/perfetto_hprof/
Dperfetto_hprof.cc239 art::MutexLock lk(art_thread(), GetStateMutex()); in OnStart() local
278 art::MutexLock lk(self, GetStateMutex()); in WaitForDataSource() local
654 art::MutexLock lk(JavaHprofDataSource::art_thread(), GetStateMutex()); in DumpPerfetto() local
661 art::MutexLock lk(self, GetStateMutex()); in DumpPerfetto() local
678 art::MutexLock lk(self, GetStateMutex()); in ArtPlugin_Initialize() local
718 art::MutexLock lk(nullptr, GetStateMutex()); in ArtPlugin_Initialize() local
731 art::MutexLock lk(self, GetStateMutex()); in ArtPlugin_Initialize() local
770 art::MutexLock lk(self, GetStateMutex()); in ArtPlugin_Deinitialize() local
/art/openjdkjvmti/
Dti_breakpoint.cc132 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in RemoveBreakpointsInClass() local
164 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in SetBreakpoint() local
183 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in ClearBreakpoint() local
Dti_field.cc273 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in SetFieldModificationWatch() local
290 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in ClearFieldModificationWatch() local
307 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in SetFieldAccessWatch() local
324 art::WriterMutexLock lk(art::Thread::Current(), env->event_info_mutex_); in ClearFieldAccessWatch() local
Dti_monitor.cc139 auto wait_without_timeout = [&](std::unique_lock<std::mutex>& lk) { in Wait()
146 auto wait_with_timeout = [&](std::unique_lock<std::mutex>& lk) { in Wait()
182 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in Wait() local
Ddeopt_manager.cc211 art::MutexLock lk(art::Thread::Current(), breakpoint_status_lock_); in MethodHasBreakpoints() local
359 art::MutexLock lk(self_, deopt_->deoptimization_status_lock_); in RELEASE() local
Dti_extension.cc718 art::WriterMutexLock lk(art::Thread::Current(), art_env->event_info_mutex_); in SetExtensionEventCallback() local
Dti_stack.cc1084 art::WriterMutexLock lk(self, tienv->event_info_mutex_); in NotifyFramePop() local
DOpenjdkJvmTi.cc1011 art::WriterMutexLock lk(art::Thread::Current(), art_env->event_info_mutex_); in SetEventCallbacks() local
/art/dt_fd_forward/
Ddt_fd_forward.cc120 std::lock_guard<std::mutex> lk(state_mutex_); in SetupListen() local
136 std::lock_guard<std::mutex> lk(state_mutex_); in StopListening() local
204 std::lock_guard<std::mutex> lk(state_mutex_); in ReadFully() local
279 std::lock_guard<std::mutex> lk(state_mutex_); in WriteFully() local
364 std::unique_lock<std::mutex> lk(state_mutex_); in Accept() local
441 std::lock_guard<std::mutex> lk(state_mutex_); in Close() local
/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc128 std::lock_guard<std::mutex> lk(unload_mutex); in Agent_OnUnload() local
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc70 std::lock_guard<std::mutex> lk(unload_mutex); in ProxyJavaVM() local
337 std::lock_guard<std::mutex> lk(unload_mutex); in Agent_OnUnload() local
/art/adbconnection/
Dadbconnection.cc307 ScopedEventFdLock lk(adb_write_event_fd_); in CloseFds() local
346 ScopedEventFdLock lk(adb_write_event_fd_); in SendDdmPacket() local
/art/test/912-classes/
Dclasses.cc441 std::unique_lock<std::mutex> lk(mutex_); in AgentThreadTest() local
463 std::unique_lock<std::mutex> lk(mutex_); in ClassLoadCallback() local
481 std::unique_lock<std::mutex> lk(mutex_); in ClassPrepareCallback() local