/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SinkChannelImpl.java | 53 private final Object lock = new Object(); field in class:SinkChannelImpl 56 // DO NOT invoke a blocking I/O operation while holding this lock! 160 synchronized (lock) { 183 synchronized (lock) {
|
H A D | SourceChannelImpl.java | 53 private final Object lock = new Object(); field in class:SourceChannelImpl 56 // DO NOT invoke a blocking I/O operation while holding this lock! 160 synchronized (lock) { 191 synchronized (lock) {
|
/openjdk7/hotspot/agent/src/share/native/jvmdi/ |
H A D | sa.cpp | 185 JVMDI_RawMonitor lock; member in class:MonitorLocker 187 MonitorLocker(JVMDI_RawMonitor lock) { argument 188 this->lock = lock; 189 if (lock != NULL) { 190 jvmdi->RawMonitorEnter(lock); 194 if (lock != NULL) { 195 jvmdi->RawMonitorExit(lock); 520 // Create event lock 523 stop("Unable to create Serviceability Agent's event lock"); [all...] |
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | SynchronizerDeadlock.java | 120 lock1.lock(); 131 lock2.lock();
|
H A D | SynchronizerLockingThread.java | 259 lock1.lock(); 261 lock2.lock(); 263 lock3.lock(); 277 lock4.lock(); 343 lock8.lock();
|
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLRenderQueue.java | 84 theInstance.lock(); 101 rq.lock(); 127 // assert lock.isHeldByCurrentThread(); 137 // assert lock.isHeldByCurrentThread(); 149 // assert lock.isHeldByCurrentThread(); 213 * - we can lock the queue (without blocking)
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixDirectoryStream.java | 104 writeLock().lock(); 165 readLock().lock();
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | BufferedRenderPipe.java | 91 rq.lock(); 108 rq.lock(); 125 rq.lock(); 205 rq.lock(); 292 // assert rq.lock.isHeldByCurrentThread(); 302 // assert rq.lock.isHeldByCurrentThread(); 363 rq.lock(); 376 rq.lock(); 396 rq.lock(); 417 rq.lock(); [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | dirtyCardQueue.hpp | 97 Mutex* lock, PtrQueueSet* fl_owner = NULL);
|
H A D | satbQueue.hpp | 98 Mutex* lock);
|
/openjdk7/jdk/src/share/classes/com/sun/rowset/providers/ |
H A D | RIXMLProvider.java | 209 public void setDataSourceLock(int lock) throws SyncProviderException { argument
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | icache_x86.cpp | 62 __ lock(); __ addl(Address(rsp, 0), 0);
|
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_MidiUtils.h | 90 extern void MIDI_WaitOnConditionVariable(void* cond, void* lock);
|
H A D | PLATFORM_API_MacOSX_Utils.cpp | 71 MutexLock::Locker locker(lock); 102 MutexLock::Locker locker(lock); 107 MutexLock::Locker locker(lock); 112 MutexLock::Locker locker(lock);
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | ImageSurfaceData.h | 111 pthread_mutex_t lock; member in struct:_ImageSDOps
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | JdbLockTest.sh | 28 # @summary TTY: jdb lock command displays incorrect data 68 System.out.println(" sleeper got the lock"); 83 # This should say that main owns the lock 85 cmd lock $classname.jj
|
/openjdk7/jdk/test/java/io/Writer/ |
H A D | WriteFromString.java | 80 lock = buf;
|
/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/demo/jvmti/heapViewer/ |
H A D | heapViewer.c | 55 jrawMonitorID lock; member in struct:__anon527 72 err = (*jvmti)->RawMonitorEnter(jvmti, gdata->lock); 82 err = (*jvmti)->RawMonitorExit(jvmti, gdata->lock); 265 err = (*jvmti)->CreateRawMonitor(jvmti, "agent lock", &(gdata->lock));
|
/openjdk7/jdk/src/share/demo/jvmti/compiledMethodLoad/ |
H A D | compiledMethodLoad.c | 55 static jrawMonitorID lock; variable 192 err = (*jvmti)->RawMonitorEnter(jvmti, lock); 220 err = (*jvmti)->RawMonitorExit(jvmti, lock); 267 err = (*jvmti)->CreateRawMonitor(jvmti, "agent lock", &lock);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | gcTaskManager.hpp | 226 static SynchronizedGCTaskQueue* create(GCTaskQueue* queue, Monitor * lock) { argument 227 return new SynchronizedGCTaskQueue(queue, lock); 238 Monitor * lock() const { function in class:SynchronizedGCTaskQueue 242 // These check that you hold the lock 245 guarantee(own_lock(), "don't own the lock"); 249 guarantee(own_lock(), "don't own the lock"); 253 guarantee(own_lock(), "don't own the lock"); 257 guarantee(own_lock(), "don't own the lock"); 261 guarantee(own_lock(), "don't own the lock"); 265 guarantee(own_lock(), "don't own the lock"); 409 Monitor * lock() const { function in class:GCTaskManager 778 static Mutex* lock() { function in class:MonitorSupply [all...] |
/openjdk7/jdk/test/java/util/concurrent/locks/Lock/ |
H A D | TimedAcquireLeak.java | 190 final ReentrantLock lock = new ReentrantLock(); 191 lock.lock(); 199 rwlock.writeLock().lock(); 225 check(! lock.tryLock(t, NANOSECONDS));
|
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/ |
H A D | SourceClippingBlitTest.java | 66 private static final Object lock = new Object(); field in class:SourceClippingBlitTest 101 synchronized (lock) { 104 lock.wait(); 163 synchronized (lock) { 165 lock.notifyAll();
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | DirectAudioDevice.java | 589 synchronized(lock) { 594 lock.notifyAll(); 671 synchronized(lock) { 673 lock.wait(10); 688 synchronized(lock) { 689 lock.notifyAll(); 769 synchronized (lock) { 771 lock.wait(waitTime); 996 synchronized(lock) { 998 lock [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | ReentrantReadWriteLock.java | 50 * ordering for lock access. However, it does support an optional 56 * to the read and write lock is unspecified, subject to reentrancy 57 * constraints. A nonfair lock that is continuously contended may 59 * will normally have higher throughput than a fair lock. 64 * approximately arrival-order policy. When the currently held lock 66 * be assigned the write lock, or if there is a group of reader threads 68 * assigned the read lock. 70 * <p>A thread that tries to acquire a fair read lock (non-reentrantly) 71 * will block if either the write lock is held, or there is a waiting 72 * writer thread. The thread will not acquire the read lock unti 716 ReadLock(ReentrantReadWriteLock lock) argument 730 public void lock() { method in class:ReentrantReadWriteLock.ReadLock 923 WriteLock(ReentrantReadWriteLock lock) argument 944 public void lock() { method in class:ReentrantReadWriteLock.WriteLock [all...] |