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()
233 public static void testWaitMonitorEnter(final Monitors.NamedLock lk) throws Exception { in testWaitMonitorEnter()
267 public static void testWaitExitInterleaving(Monitors.NamedLock lk) throws Exception { in testWaitExitInterleaving()
294 public static void testWaitEnterInterleaving(Monitors.NamedLock lk) throws Exception { in testWaitEnterInterleaving()
334 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.java121 public static void testInteruptWait(final Monitors.NamedLock lk) throws Exception { in testInteruptWait()
138 public static void testIllegalWait(final Monitors.NamedLock lk) throws Exception { in testIllegalWait()
154 public static void testUnlockedWait(final Monitors.NamedLock lk) throws Exception { in testUnlockedWait()
169 public static void testLock(Monitors.NamedLock lk) throws Exception { in testLock()
184 public static void testWait(Monitors.NamedLock lk) throws Exception { in testWait()
203 public static void testTimedWait(Monitors.NamedLock lk) throws Exception { in testTimedWait()
224 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/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.cc203 art::MutexLock lk(art::Thread::Current(), breakpoint_status_lock_); in MethodHasBreakpoints() local
351 art::MutexLock lk(self_, deopt_->deoptimization_status_lock_); in RELEASE() local
Dti_extension.cc768 art::WriterMutexLock lk(art::Thread::Current(), art_env->event_info_mutex_); in SetExtensionEventCallback() local
Dti_stack.cc1083 art::WriterMutexLock lk(self, tienv->event_info_mutex_); in NotifyFramePop() local
DOpenjdkJvmTi.cc1005 art::WriterMutexLock lk(art::Thread::Current(), art_env->event_info_mutex_); in SetEventCallbacks() local
/art/perfetto_hprof/
Dperfetto_hprof.cc230 art::MutexLock lk(art_thread(), GetStateMutex()); in OnStart() local
255 art::MutexLock lk(art_thread(), finish_mutex_); in OnStop() local
276 art::MutexLock lk(art_thread(), finish_mutex_); in Finish() local
326 art::MutexLock lk(self, GetStateMutex()); in WaitForDataSource() local
335 art::MutexLock lk(self, GetStateMutex()); in TimedWaitForDataSource() local
1036 art::MutexLock lk(JavaHprofDataSource::art_thread(), GetStateMutex()); in WriteHeapPackets() local
1042 art::MutexLock lk(JavaHprofDataSource::art_thread(), GetStateMutex()); in WriteHeapPackets() local
1106 art::MutexLock lk(self, GetStateMutex()); in DumpPerfettoOutOfMemory() local
1161 art::MutexLock lk(self, GetStateMutex()); in ArtPlugin_Initialize() local
1202 art::MutexLock lk(nullptr, GetStateMutex()); in ArtPlugin_Initialize() local
[all …]
/art/dt_fd_forward/
Ddt_fd_forward.cc122 std::lock_guard<std::mutex> lk(state_mutex_); in SetupListen() local
138 std::lock_guard<std::mutex> lk(state_mutex_); in StopListening() local
206 std::lock_guard<std::mutex> lk(state_mutex_); in ReadFully() local
281 std::lock_guard<std::mutex> lk(state_mutex_); in WriteFully() local
371 std::unique_lock<std::mutex> lk(state_mutex_); in Accept() local
450 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.cc320 ScopedEventFdLock lk(adb_write_event_fd_); in CloseFds() local
359 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