/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/opt/ |
H A D | Injector.java | 104 ir.lock(); 116 iw.lock(); 196 r.lock(); 222 w.lock(); 236 r.lock(); 271 w.lock(); 297 r.lock();
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | linux_close.c | 53 pthread_mutex_t lock; /* fd lock */ member in struct:__anon958 130 pthread_mutex_lock(&(fdEntry->lock)); 135 pthread_mutex_unlock(&(fdEntry->lock)); 147 pthread_mutex_lock(&(fdEntry->lock)); 167 pthread_mutex_unlock(&(fdEntry->lock)); 191 pthread_mutex_lock(&(fdEntry->lock)); 223 pthread_mutex_unlock(&(fdEntry->lock));
|
/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/java/lang/management/ThreadMXBean/ |
H A D | ThreadStateTest.java | 29 * It also tests lock information returned by ThreadInfo. 55 private static Lock globalLock = new Lock("my lock"); 150 private static String getLockName(Object lock) { argument 151 if (lock == null) return null; 153 return lock.getClass().getName() + '@' + 154 Integer.toHexString(System.identityHashCode(lock)); 157 private static void checkLockInfo(Thread t, Thread.State state, Object lock, Thread owner) { argument 170 if (lock == null && info.getLockName() != null) { 172 " expected not to be blocked on any lock" + 175 String expectedLockName = getLockName(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/com/sun/jmx/mbeanserver/ |
H A D | MXBeanSupport.java | 158 synchronized (lock) { 167 synchronized (lock) { 174 private final Object lock = new Object(); // for mxbeanLookup and objectName field in class:MXBeanSupport
|
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/ |
H A D | PLATFORM_API_MacOSX_Utils.h | 67 Locker(MutexLock &lock) : pLock(&lock) { pLock->Lock(); } argument 91 MutexLock lock; member in class:DeviceList
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | mutex.hpp | 33 // (cxq) with the lock-byte. The queue elements are ParkEvents, which are 35 // a ParkEvent is always 0. Colocating the lock-byte with the queue 36 // allows us to easily avoid what would otherwise be a race in lock() 38 // and the lock indicator. Specifically, colocation renders us immune 39 // from the race where a thread might enqueue itself in the lock() slow-path 40 // immediately after the lock holder drops the outer lock in the unlock() 52 // The lock() fast-path will CAS the lockword and the unlock() 53 // fast-path will store into the lock-byte colocated within the lockword. 79 // See orderAccess.hpp. We assume throughout the VM that mutex lock an [all...] |
H A D | basicLock.hpp | 42 // move a basic lock (used during deoptimization 60 BasicLock _lock; // the lock, must be double word aligned 61 oop _obj; // object holds the lock; 67 BasicLock* lock() { return &_lock; } function in class:VALUE_OBJ_CLASS_SPEC
|
H A D | synchronizer.hpp | 55 static void fast_enter (Handle obj, BasicLock* lock, bool attempt_rebias, TRAPS); 56 static void fast_exit (oop obj, BasicLock* lock, Thread* THREAD); 61 static void slow_enter (Handle obj, BasicLock* lock, TRAPS); 62 static void slow_exit (oop obj, BasicLock* lock, Thread* THREAD); 80 // used by classloading to free classloader object lock, 81 // wait on an internal lock, and reclaim original lock 145 // requires flag based choice of locking the classloader lock. 160 // complete_exit gives up lock completely, returning recursion count 161 // reenter reclaims lock wit [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_impl.h | 86 CRITICAL_SECTION lock; member in struct:Splash 94 pthread_mutex_t lock; member in struct:Splash 98 pthread_mutex_t lock; member in struct:Splash
|
/openjdk7/jdk/test/java/util/concurrent/FutureTask/ |
H A D | CancelledFutureLoops.java | 82 private final ReentrantLock lock = new ReentrantLock(); field in class:CancelledFutureLoops.FutureLoop 132 lock.lockInterruptibly(); 137 lock.unlock();
|
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/ |
H A D | ConcurrentReadingTest.java | 52 static Object lock = new Object(); field in class:ConcurrentReadingTest 69 synchronized(lock) { 93 synchronized(lock) {
|
/openjdk7/jdk/test/javax/management/notification/ |
H A D | BroadcasterSupportDeadlockTest.java | 155 Object lock = new Object(); 156 synchronized (lock) { 161 lock.wait(); // block forever 163 System.out.println("TEST INCORRECT: lock interrupted:");
|
/openjdk7/jdk/test/sun/java2d/DirectX/OverriddenInsetsTest/ |
H A D | OverriddenInsetsTest.java | 54 static final CountDownLatch lock = new CountDownLatch(1); field in class:OverriddenInsetsTest 125 lock.countDown(); 137 lock.await();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | BasicObjectLock.java | 57 public BasicLock lock() { return new BasicLock(addr.addOffsetTo(lockField.getOffset())); } method in class:BasicObjectLock
|
H A D | Thread.java | 138 public boolean isLockOwned(Address lock) { argument 139 if (isInStack(lock)) return true;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Timer.java | 179 private transient final Lock lock = new ReentrantLock(); field in class:Timer 184 // access to this field is synchronized on getLock() lock. 573 getLock().lock(); 589 getLock().lock(); 621 return lock;
|
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | PlatformMidi.h | 93 void* lock; member in struct:tag_MidiQueue 121 void MIDI_DestroyLock(void* lock); 123 /* Blocks until this lock can be gotten. 124 * Nop if lock is NULL */ 125 void MIDI_Lock(void* lock); 127 /* Releases this lock */ 128 void MIDI_Unlock(void* 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/nio/ch/ |
H A D | AsynchronousFileChannelImpl.java | 83 closeLock.readLock().lock(); 113 public final Future<FileLock> lock(long position, method in class:AsynchronousFileChannelImpl 122 public final <A> void lock(long position, method in class:AsynchronousFileChannelImpl 160 * Adds region to lock table 166 closeLock.readLock().lock(); 190 * Releases the given file lock. 195 * Invoked by FileLockImpl to release the given file lock and remove it 196 * from the lock table.
|
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/ |
H A D | conc.js | 158 // shortcut for j.u.c lock classes 163 * Executes a function after acquiring given lock. On return, 164 * (normal or exceptional), lock is released. 166 * @param lock lock that is locked and unlocked 168 Function.prototype.sync = function (lock) { 170 throw "lock is missing"; 176 lock.lock(); 180 lock [all...] |
/openjdk7/jdk/src/solaris/classes/sun/net/dns/ |
H A D | ResolverConfigurationImpl.java | 44 private static Object lock = new Object(); field in class:ResolverConfigurationImpl 112 assert Thread.holdsLock(lock); 220 synchronized (lock) { 229 synchronized (lock) {
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixSecureDirectoryStream.java | 61 ds.writeLock().lock(); 102 ds.readLock().lock(); 150 ds.readLock().lock(); 180 ds.readLock().lock(); 246 // lock ordering doesn't matter 247 this.ds.readLock().lock(); 249 that.ds.readLock().lock(); 354 ds.readLock().lock(); 391 ds.readLock().lock(); 462 ds.readLock().lock(); [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/ |
H A D | SelectorProvider.java | 71 private static final Object lock = new Object(); field in class:SelectorProvider 165 synchronized (lock) {
|