/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/ |
H A D | ServerCommunicatorAdmin.java | 68 synchronized(lock) { 91 synchronized(lock) { 96 lock.notify(); 117 synchronized(lock) { 125 lock.notify(); 136 synchronized(lock) { 150 lock.wait(); 168 lock.wait(remaining); 218 private final int[] lock = new int[0]; field in class:ServerCommunicatorAdmin
|
/openjdk7/jdk/src/share/classes/com/sun/rowset/providers/ |
H A D | RIXMLProvider.java | 209 public void setDataSourceLock(int lock) throws SyncProviderException { argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | ImageCache.java | 52 private final ReadWriteLock lock = new ReentrantReadWriteLock(); field in class:ImageCache 76 lock.writeLock().lock(); 80 lock.writeLock().unlock(); 89 lock.readLock().lock(); 93 lock.readLock().unlock(); 122 lock.writeLock().lock(); 161 lock [all...] |
/openjdk7/jdk/src/windows/classes/sun/net/dns/ |
H A D | ResolverConfigurationImpl.java | 40 private static Object lock = new Object(); field in class:ResolverConfigurationImpl 82 assert Thread.holdsLock(lock); 115 synchronized (lock) { 124 synchronized (lock) { 144 synchronized (lock) {
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | Hashtable.h | 87 CriticalSection lock; member in class:Hashtable 128 CriticalSection::Lock l(lock); 137 CriticalSection::Lock l(lock);
|
/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/lang/management/MemoryMXBean/ |
H A D | Pending.java | 207 private static Object lock = new Object(); field in class:Pending 211 synchronized (lock) { 231 synchronized (lock) { 239 // Enter lock a without blocking
|
/openjdk7/jdk/test/java/rmi/activation/Activatable/forceLogSnapshot/ |
H A D | ForceLogSnapshot.java | 57 private static Object lock = new Object(); field in class:ForceLogSnapshot 96 synchronized (lock) { 100 synchronized (lock) { 270 synchronized(lock) {
|
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | PlatformMidi.c | 86 queue->lock = MIDI_CreateLock(); 97 void* lock = queue->lock; local 98 MIDI_Lock(lock); 100 MIDI_Unlock(lock); 101 MIDI_DestroyLock(lock); 110 MIDI_Lock(queue->lock); 126 MIDI_Unlock(queue->lock); 135 MIDI_Lock(queue->lock); 154 MIDI_Unlock(queue->lock); [all...] |
/openjdk7/jdk/src/share/demo/jvmti/gctest/ |
H A D | gctest.c | 58 static jrawMonitorID lock; variable 69 err = (*jvmti)->RawMonitorEnter(jvmti, lock); 72 err = (*jvmti)->RawMonitorWait(jvmti, lock, 0); 74 err = (*jvmti)->RawMonitorExit(jvmti, lock); 81 err = (*jvmti)->RawMonitorExit(jvmti, lock); 140 err = (*jvmti)->RawMonitorEnter(jvmti, lock); 143 err = (*jvmti)->RawMonitorNotify(jvmti, lock); 145 err = (*jvmti)->RawMonitorExit(jvmti, lock); 189 err = (*jvmti)->CreateRawMonitor(jvmti, "lock", &lock); [all...] |
/openjdk7/jdk/test/java/rmi/reliability/juicer/ |
H A D | AppleUserImpl.java | 94 private static final Object lock = new Object(); field in class:AppleUserImpl 113 synchronized (lock) { 115 lock.notifyAll(); 225 synchronized (lock) { 226 lock.notifyAll(); 347 synchronized (lock) { 349 lock.wait();
|
/openjdk7/jdk/test/javax/management/notification/ |
H A D | NotifExecutorTest.java | 95 synchronized (lock) { 98 lock.wait(1000); 108 synchronized (lock) { 135 synchronized(lock) { 137 lock.notifyAll(); 180 synchronized(lock) { 190 private static int[] lock = new int[0]; field in class:NotifExecutorTest
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | UnexpectedNotifTest.java | 136 synchronized (lock) { 139 lock.wait(1000); 148 synchronized (lock) { 170 synchronized(lock) { 172 lock.notifyAll(); 237 private static int[] lock = new int[0]; field in class:UnexpectedNotifTest
|
/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/src/share/classes/sun/io/ |
H A D | Converters.java | 49 private static Object lock = Converters.class; field in class:Converters 132 synchronized (lock) { 170 synchronized (lock) { 185 synchronized (lock) { 266 synchronized (lock) { 330 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | RenderQueue.java | 34 * operations are enqueued. Note that the RenderQueue lock must be acquired 39 * rq.lock(); 57 * rq.lock(); 94 public final void lock() { method in class:RenderQueue 97 * one lock to synchronize access to the RenderQueue, and then a 98 * separate lock (the AWT lock) that only needs to be acquired when 101 * correct lock ordering; sometimes AWT will have already acquired 102 * the AWT lock before grabbing the RQ lock (se [all...] |
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | MonitorInfoCompositeData.java | 41 private final MonitorInfo lock; field in class:MonitorInfoCompositeData 44 this.lock = mi; 48 return lock; 62 CompositeData li = LockDataConverter.toLockInfoCompositeData(lock); 67 StackTraceElement ste = lock.getLockedStackFrame(); 72 values[i] = new Integer(lock.getLockedStackDepth());
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | GC.java | 59 /* The lock object for the latencyTarget and daemon fields. The daemon 60 * thread, if it exists, waits on this lock for notification that the 64 private static Object lock = new LatencyLock(); field in class:GC 91 synchronized (lock) { 117 lock.wait(l - d); 151 * Must be invoked while holding the lock. 162 lock.notify(); 183 * Must be invoked while holding the lock. 212 synchronized (lock) { 229 synchronized (lock) { [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/ |
H A D | MultiplexInputStream.java | 61 * lock acquired to access shared variables: 64 * invoked while this lock is held, since they could potentially 66 * full, and the manager may need to acquire this lock to process 69 private Object lock = new Object(); field in class:MultiplexInputStream 120 synchronized (lock) { 133 synchronized (lock) { 137 lock.wait(); 164 synchronized (lock) { 188 synchronized (lock) { 199 lock [all...] |
H A D | MultiplexOutputStream.java | 63 * lock acquired to access shared variables: 66 * invoked while this lock is held, since they could potentially 68 * full, and the manager may need to acquire this lock to process 71 private Object lock = new Object(); field in class:MultiplexOutputStream 126 synchronized (lock) { 129 lock.wait(); 141 synchronized (lock) { 147 synchronized (lock) { 179 synchronized (lock) { 181 lock [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InMemoryCookieStore.java | 58 private ReentrantLock lock = null; field in class:InMemoryCookieStore 69 lock = new ReentrantLock(false); 82 lock.lock(); 100 lock.unlock(); 120 lock.lock(); 127 lock.unlock(); 139 lock.lock(); [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | FileChannel.java | 922 * Acquires a lock on the given region of this channel's file. 932 * lock then its interrupt status will be set and a {@link 942 * region then the new portion of the file will not be covered by the lock. 943 * If a file is expected to grow in size and a lock on the entire file is 946 * {@link #lock()} method simply locks a region of size {@link 950 * request for a shared lock is automatically converted into a request for 951 * an exclusive lock. Whether the newly-acquired lock is shared or 952 * exclusive may be tested by invoking the resulting lock object's {@link 968 * <tt>true</tt> to request a shared lock, i 1010 public abstract FileLock lock(long position, long size, boolean shared) method in class:FileChannel 1051 public final FileLock lock() throws IOException { method in class:FileChannel [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | KeyPairGenerator.java | 535 private final Object lock = new Object(); field in class:KeyPairGenerator.Delegate 571 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | DelayQueue.java | 71 private transient final ReentrantLock lock = new ReentrantLock(); field in class:DelayQueue 97 private final Condition available = lock.newCondition(); 135 final ReentrantLock lock = this.lock; 136 lock.lock(); 145 lock.unlock(); 182 final ReentrantLock lock = this.lock; 183 lock [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | KeyAgreement.java | 98 private final Object lock; field in class:KeyAgreement 112 lock = null; 119 lock = new Object(); 281 synchronized (lock) { 349 synchronized (lock) {
|