/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/ |
H A D | POAImpl.java | 224 // Master lock for all POA synchronization. See lock and unlock. 285 void lock() method in class:POAImpl 372 // The POA lock must be held when this method is called. 459 lock() ; 581 poa.lock() ; 613 // Make a copy since we can't hold the lock while destroying 647 // Note that we must lock the parent before the child. 648 // The parent lock is required (if poa is not the root) 651 parent.lock() ; [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ref/ |
H A D | Finalizer.java | 43 private static final Object lock = new Object(); field in class:Finalizer 54 synchronized (lock) { 64 synchronized (lock) { 169 synchronized (lock) {
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | gcLocker.inline.hpp | 30 inline void GC_locker::lock() { function in class:GC_locker 49 // jni_lock call calls enter_critical under the lock so that the 50 // global lock count and per thread count are in agreement. 62 // jni_unlock call calls exit_critical under the lock so that 63 // the global lock count and per thread count are in agreement.
|
H A D | freeBlockDictionary.hpp | 57 virtual size_t total_chunk_size(debug_only(const Mutex* lock)) const = 0; 98 void set_par_lock(Mutex* lock) PRODUCT_RETURN;
|
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | EchoService.java | 109 private static Object lock = new Object(); field in class:EchoService.Worker 112 synchronized (lock) { 121 synchronized (lock) { 131 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileDispatcher.java | 32 public static final int NO_LOCK = -1; // Failed to lock 33 public static final int LOCKED = 0; // Obtained requested lock 34 public static final int RET_EX_LOCK = 1; // Obtained exclusive lock 43 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, method in class:FileDispatcher
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | Port.java | 69 fdToChannelLock.writeLock().lock(); 85 fdToChannelLock.writeLock().lock(); 112 fdToChannelLock.writeLock().lock(); 148 fdToChannelLock.writeLock().lock();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ |
H A D | HelloWorld.java | 33 private static Object lock = new Object(); field in class:HelloWorld 55 synchronized(lock) {
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedReader.java | 171 synchronized (lock) { 270 synchronized (lock) { 309 synchronized (lock) { 399 synchronized (lock) { 436 synchronized (lock) { 487 synchronized (lock) { 502 synchronized (lock) { 514 synchronized (lock) {
|
H A D | StringWriter.java | 51 lock = buf; 70 lock = buf;
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiTagMap.hpp | 50 Mutex _lock; // lock for this tag map 60 inline Mutex* lock() { return &_lock; } function in class:JvmtiTagMap 71 bool is_locked() { return lock()->is_locked(); }
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkRuntime.hpp | 42 static void monitorenter(JavaThread* thread, BasicObjectLock* lock); 43 static void monitorexit(JavaThread* thread, BasicObjectLock* lock);
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | bsd_close.c | 54 pthread_mutex_t lock; /* fd lock */ member in struct:__anon957 110 pthread_mutex_init(&fdTable[i].lock, NULL); 147 pthread_mutex_lock(&(fdEntry->lock)); 152 pthread_mutex_unlock(&(fdEntry->lock)); 164 pthread_mutex_lock(&(fdEntry->lock)); 184 pthread_mutex_unlock(&(fdEntry->lock)); 208 pthread_mutex_lock(&(fdEntry->lock)); 240 pthread_mutex_unlock(&(fdEntry->lock));
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | ReleaseOnCloseDeadlock.java | 56 locks[i] = fc.lock(i, 1, true); 63 locks[i] = ch.lock(i, 1, true).get();
|
/openjdk7/jdk/src/share/classes/sun/net/ftp/ |
H A D | FtpClientProvider.java | 48 private static final Object lock = new Object(); field in class:FtpClientProvider 138 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | ReentrantLock.java | 43 * behavior and semantics as the implicit monitor lock accessed using 49 * {@code lock} will return, successfully acquiring the lock, when 50 * the lock is not owned by another thread. The method will return 51 * immediately if the current thread already owns the lock. This can 58 * thread. Otherwise this lock does not guarantee any particular 65 * fair lock may obtain it multiple times in succession while other 67 * lock. 69 * honor the fairness setting. It will succeed if the lock 73 * follow a call to {@code lock} wit 126 abstract void lock(); method in class:ReentrantLock.Sync 210 final void lock() { method in class:ReentrantLock.NonfairSync 228 final void lock() { method in class:ReentrantLock.FairSync 289 public void lock() { method in class:ReentrantLock [all...] |
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6373555.java | 46 private static Object lock; field in class:B6373555 53 lock = new Object(); 120 synchronized(lock) { 159 synchronized(lock) { 175 synchronized(lock) {
|
/openjdk7/jdk/test/java/rmi/activation/rmidViaInheritedChannel/ |
H A D | InheritedChannelNotServerSocket.java | 56 private static final Object lock = new Object(); field in class:InheritedChannelNotServerSocket 68 synchronized (lock) { 71 lock.notifyAll(); 114 synchronized (lock) { 116 lock.wait();
|
H A D | RmidViaInheritedChannel.java | 50 private static final Object lock = new Object(); field in class:RmidViaInheritedChannel 56 synchronized (lock) { 59 lock.notifyAll(); 100 synchronized (lock) { 102 lock.wait();
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | RMINotifTest.java | 125 synchronized (lock) { 127 lock.wait(10000); 172 synchronized(lock) { 173 lock.notifyAll(); 235 private static int[] lock = new int[0]; field in class:RMINotifTest
|
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/ |
H A D | LUTCompareTest.java | 70 synchronized(lock) { 72 lock.wait(200); 81 private static Object lock = new Object(); field in class:LUTCompareTest 98 synchronized(lock) { 99 lock.notifyAll();
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Lock.java | 27 * @summary Unit test for AsynchronousFileChannel#lock method 78 // slave VM opens file and acquires exclusive lock 79 slave.open(file.getPath()).lock(); 84 // this VM tries to acquire lock 85 // (lock should not be acquire until released by slave VM) 86 Future<FileLock> result = ch.lock(); 93 // slave VM releases lock 96 // this VM should now acquire lock 100 // slave VM acquires lock on range 101 slave.lock( 218 LockSlaveMirror lock() throws IOException { method in class:Lock.LockSlaveMirror 224 LockSlaveMirror lock(long position, long size, boolean shared) method in class:Lock.LockSlaveMirror [all...] |
/openjdk7/jdk/src/solaris/classes/java/lang/ |
H A D | UNIXProcess.java.solaris | 208 private Object lock = new Object(); // For the following fields 214 synchronized (lock) { 220 synchronized (lock) { 232 synchronized (lock) { 243 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ThreadPoolExecutor.java | 284 * pauseLock.lock(); 295 * pauseLock.lock(); 304 * pauseLock.lock(); 447 * to be generally preferable to use a lock. Among the reasons is 574 * to simplify acquiring and releasing a lock surrounding each 578 * non-reentrant mutual exclusion lock rather than use 580 * reacquire the lock when they invoke pool control methods like 582 * the thread actually starts running tasks, we initialize lock 641 public void lock() { acquire(1); } method in class:ThreadPoolExecutor.Worker 700 mainLock.lock(); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TimerQueue.java | 95 runningLock.lock(); 118 timer.getLock().lock(); 135 timer.getLock().lock(); 145 timer.getLock().lock(); 157 timer.getLock().lock(); 167 runningLock.lock(); 172 timer.getLock().lock(); 178 * the queue and before the lock on the timer is
|