/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | cmsLockVerifier.cpp | 33 // or the CMS thread might hold the lock on behalf of the parallel 37 void CMSLockVerifier::assert_locked(const Mutex* lock, argument 46 if (lock == NULL) { // a "lock-free" structure, e.g. MUT, protected by CMS token 70 // Make sure that we are holding the associated lock. 71 assert_lock_strong(lock); 83 // Make sure that the VM or CMS thread holds lock on our behalf 87 assert(lock->owner() == VMThread::vm_thread() || 88 lock->owner() == ConcurrentMarkSweepThread::cmst(),
|
H A D | cmsLockVerifier.hpp | 33 // main GC thread or the CMS thread might hold the lock on behalf of 37 static void assert_locked(const Mutex* lock, const Mutex* p_lock1, const Mutex* p_lock2) 39 static void assert_locked(const Mutex* lock, const Mutex* p_lock) { argument 40 assert_locked(lock, p_lock, NULL); 42 static void assert_locked(const Mutex* lock) { argument 43 assert_locked(lock, NULL);
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | freeBlockDictionary.cpp | 48 template <class Chunk> void FreeBlockDictionary<Chunk>::set_par_lock(Mutex* lock) { argument 49 _lock = lock;
|
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.
|
/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/jdk/src/share/classes/sun/misc/ |
H A D | Lock.java | 29 * The Lock class provides a simple, useful interface to a lock. 39 * a lock, and one of the methods may throw an exception, you must be 40 * prepared to release the lock similarly to the following example: 46 * myLock.lock(); 65 * Create a lock, which is initially not locked. 71 * Acquire the lock. If someone else has the lock, wait until it 73 * will not return until the lock has been acquired. 78 public final synchronized void lock() throws InterruptedException { method in class:Lock 86 * Release the lock [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | MonitorInfo.java | 32 private BasicLock lock; field in class:MonitorInfo 37 public MonitorInfo(OopHandle owner, BasicLock lock, boolean eliminated, boolean ownerIsScalarReplaced) { argument 60 public BasicLock lock() { return lock; } method in class:MonitorInfo
|
H A D | BasicObjectLock.java | 57 public BasicLock lock() { return new BasicLock(addr.addOffsetTo(lockField.getOffset())); } method in class:BasicObjectLock
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | Mutex.java | 32 public synchronized void lock() { method in class:Mutex
|
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/ |
H A D | ToolkitThreadBlockedHandler.java | 29 public void lock(); method in interface:ToolkitThreadBlockedHandler
|
/openjdk7/jdk/src/share/classes/java/lang/management/ |
H A D | LockInfo.java | 33 * Information about a <em>lock</em>. A lock can be a built-in object monitor, 65 * @param className the fully qualified name of the class of the lock object. 67 * identity hash code} of the lock object. 81 LockInfo(Object lock) { argument 82 this.className = lock.getClass().getName(); 83 this.identityHashCode = System.identityHashCode(lock); 87 * Returns the fully qualified name of the class of the lock object. 89 * @return the fully qualified name of the class of the lock object. 96 * Returns the identity hash code of the lock objec [all...] |
/openjdk7/jdk/test/java/awt/Focus/AppletInitialFocusTest/ |
H A D | AppletInitialFocusTest1.java | 19 Object lock = new Object(); field in class:AppletInitialFocusTest1 32 synchronized (lock) { 46 synchronized (lock) { 61 synchronized (lock) {
|
/openjdk7/jdk/test/java/lang/ThreadGroup/ |
H A D | Stop.java | 33 private static final Object lock = new Object(); field in class:Stop 49 synchronized (lock) { 56 lock.notifyAll(); 69 synchronized(lock){ 71 lock.wait();
|
/openjdk7/jdk/test/java/rmi/server/UnicastRemoteObject/keepAliveDuringCall/ |
H A D | KeepAliveDuringCall.java | 51 private Object lock = new Object(); field in class:KeepAliveDuringCall 56 synchronized (lock) { 58 lock.notifyAll(); 63 synchronized (lock) { 65 lock.notifyAll(); 92 synchronized (obj.lock) { 96 obj.lock.wait(TIMEOUT); 113 synchronized (obj.lock) {
|
/openjdk7/jdk/test/java/rmi/server/Unreferenced/finiteGCLatency/ |
H A D | FiniteGCLatency.java | 52 private Object lock = new Object(); field in class:FiniteGCLatency 57 synchronized (lock) { 59 lock.notify(); 88 synchronized (obj.lock) { 92 obj.lock.wait(TIMEOUT);
|
/openjdk7/jdk/test/java/rmi/server/Unreferenced/leaseCheckInterval/ |
H A D | LeaseCheckInterval.java | 57 private Object lock = new Object(); field in class:LeaseCheckInterval 62 synchronized (lock) { 64 lock.notify(); 94 synchronized (obj.lock) { 100 obj.lock.wait(TIMEOUT);
|
/openjdk7/jdk/test/java/rmi/server/Unreferenced/marshalledObjectGet/ |
H A D | MarshalledObjectGet.java | 48 private Object lock = new Object(); field in class:MarshalledObjectGet 53 synchronized (lock) { 55 lock.notify(); 83 synchronized (obj.lock) { 91 obj.lock.wait(TIMEOUT);
|
/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/sun/awt/AppContext/8012933/ |
H A D | Test8012933.java | 38 final Object lock = new Object(); field in class:Test8012933 66 synchronized (lock) { 68 lock.notifyAll(); 74 synchronized (lock) { 78 lock.wait();
|
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | FileSystem.java | 38 private static final Object lock = new Object(); field in class:FileSystem 47 synchronized (lock) {
|
/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/solaris/classes/sun/awt/motif/ |
H A D | MToolkitThreadBlockedHandler.java | 41 public void lock() { method in class:MToolkitThreadBlockedHandler
|
/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) {
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | TimerTask.java | 40 final Object lock = new Object(); field in class:TimerTask 117 synchronized(lock) { 153 synchronized(lock) {
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | Lock.java | 46 * <p>A lock is a tool for controlling access to a shared resource by 47 * multiple threads. Commonly, a lock provides exclusive access to a 48 * shared resource: only one thread at a time can acquire the lock and 49 * all access to the shared resource requires that the lock be 51 * a shared resource, such as the read lock of a {@link ReadWriteLock}. 54 * access to the implicit monitor lock associated with every object, but 55 * forces all lock acquisition and release to occur in a block-structured way: 67 * acquire the lock of node A, then node B, then release A and acquire 70 * allowing a lock to be acquired and released in different scopes, 81 * l.lock(); 183 void lock(); method in interface:Lock [all...] |