Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 45) sorted by relevance

12

/art/runtime/base/
Dmem_map_arena_pool.cc100 std::lock_guard<std::mutex> lock(lock_); in LockReclaimMemory() local
107 std::lock_guard<std::mutex> lock(lock_); in AllocArena() local
122 std::lock_guard<std::mutex> lock(lock_); in TrimMaps() local
130 std::lock_guard<std::mutex> lock(lock_); in GetBytesAllocated() local
159 std::lock_guard<std::mutex> lock(lock_); in FreeArenaChain() local
/art/test/004-ThreadStress/src-art/
DMain.java219 private final Object lock; field in Main.TimedWait
221 public TimedWait(Object lock) { in TimedWait()
238 private final Object lock; field in Main.Wait
240 public Wait(Object lock) { in Wait()
269 private final Object lock; field in Main.SyncAndWork
271 public SyncAndWork(Object lock) { in SyncAndWork()
327 private final static Map<Operation, Double> createDefaultFrequencyMap(Object lock, in createDefaultFrequencyMap()
356 private final static Map<Operation, Double> createLockFrequencyMap(Object lock) { in createLockFrequencyMap()
373 Object lock, Semaphore semaphore, String arg) { in updateFrequencyMap()
449 Object lock = new Object(); in parseAndRun() local
[all …]
/art/libartbase/base/
Dmalloc_arena_pool.cc101 std::lock_guard<std::mutex> lock(lock_); in LockReclaimMemory() local
108 std::lock_guard<std::mutex> lock(lock_); in AllocArena() local
127 std::lock_guard<std::mutex> lock(lock_); in GetBytesAllocated() local
156 std::lock_guard<std::mutex> lock(lock_); in FreeArenaChain() local
/art/test/1932-monitor-events-misc/src/art/
DTest1932.java26 public default void handleMonitorEnter(Thread thd, Object lock) {} in handleMonitorEnter()
27 public default void handleMonitorEntered(Thread thd, Object lock) {} in handleMonitorEntered()
28 public default void handleMonitorWait(Thread thd, Object lock, long timeout) {} in handleMonitorWait()
29 public default void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) {} in handleMonitorWaited()
597 public static void handleMonitorEnter(Thread thd, Object lock) { in handleMonitorEnter()
604 public static void handleMonitorEntered(Thread thd, Object lock) { in handleMonitorEntered()
610 public static void handleMonitorWait(Thread thd, Object lock, long timeout) { in handleMonitorWait()
617 public static void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) { in handleMonitorWaited()
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()
/art/test/1931-monitor-events/src/art/
DTest1931.java41 public static void handleMonitorEnter(Thread thd, Object lock) { in handleMonitorEnter()
45 public static void handleMonitorEntered(Thread thd, Object lock) { in handleMonitorEntered()
48 public static void handleMonitorWait(Thread thd, Object lock, long timeout) { in handleMonitorWait()
52 public static void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) { in handleMonitorWaited()
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()
/art/runtime/gc/
Dreference_queue_test.cc35 Mutex lock("Reference queue lock"); in TEST_F() local
69 Mutex lock("Reference queue lock"); in TEST_F() local
/art/test/1907-suspend-list-self-twice/src/art/
DTest1907.java22 public static final Object lock = new Object(); field in Test1907
/art/test/1932-monitor-events-misc/
Dmonitor_misc.cc39 jobject lock) { in Java_art_Test1932_doNativeLockPrint()
/art/test/1906-suspend-list-me-first/src/art/
DTest1906.java20 public static final Object lock = new Object(); field in Test1906
/art/test/980-redefine-object/src-ex/
DTestWatcher.java23 private static final ReentrantLock lock = new ReentrantLock(); field in TestWatcher
/art/test/1930-monitor-info/src/art/
DTest1930.java138 public static void printPreLock(Object lock) { in printPreLock()
143 public static void executeLocked(Runnable r, Object lock) { in executeLocked()
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()
/art/test/1902-suspend/src/art/
DTest1902.java20 public static final Object lock = new Object(); field in Test1902
/art/test/1904-double-suspend/src/art/
DTest1904.java20 public static final Object lock = new Object(); field in Test1904
/art/test/1903-suspend-self/src/art/
DTest1903.java20 public static final Object lock = new Object(); field in Test1903
/art/test/1959-redefine-object-instrument/src/
DMain.java41 final Object lock = new Object(); in doTest() local
/art/compiler/utils/
Dswap_space.cc109 MutexLock lock(Thread::Current(), lock_); in Alloc() local
176 MutexLock lock(Thread::Current(), lock_); in Free() local
/art/test/2029-contended-monitors/src/
DMain.java31 private Object lock; field in Main
49 private void holdFor(Object lock, int n) { in holdFor()
/art/test/702-LargeBranchOffset/src/
DMain.java.in45 Object lock = new Object(); field in Main
/art/test/626-const-class-linking/src/
DRacyLoader.java24 private Object lock = new Object(); field in RacyLoader
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()
/art/test/jvmti-common/
DMonitors.java122 public final NamedLock lock; field in Monitors.LockController
131 public LockController(NamedLock lock) { in LockController()
134 public LockController(NamedLock lock, long timeout) { in LockController()

12