/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/ |
H A D | jconsole.js | 499 // shortcut for j.u.c lock classes 504 * Executes a function after acquiring given lock. On return, 505 * (normal or exceptional), lock is released. 507 * @param lock lock that is locked and unlocked 509 Function.prototype.sync = function (lock) { 511 throw "lock is missing"; 517 lock.lock(); 521 lock [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | EPollPort.java | 201 fdToChannelLock.readLock().lock();
|
H A D | KQueuePort.java | 203 fdToChannelLock.readLock().lock();
|
/openjdk7/jdk/src/share/classes/java/util/prefs/ |
H A D | XmlSupport.java | 145 // copy of children, then lock is released, 147 synchronized (((AbstractPreferences)prefs).lock) { 166 /* Get a copy of kids while lock is held */ 172 // release lock 292 * We first lock the node, import its contents and get 299 synchronized (((AbstractPreferences)prefsNode).lock) {
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | satbQueue.cpp | 124 "we should have taken the lock before calling this"); 207 Mutex* lock) { 209 _shared_satb_queue.set_lock(lock); 205 initialize(Monitor* cbl_mon, Mutex* fl_lock, int process_completed_threshold, Mutex* lock) argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | vm_operations.cpp | 205 Heap_lock->lock(); 304 Heap_lock->lock();
|
H A D | sharedRuntime.hpp | 249 // Used to back off a spin lock that is under heavy contention 467 static void complete_monitor_locking_C(oopDesc* obj, BasicLock* lock, JavaThread* thread); 468 static void complete_monitor_unlocking_C(oopDesc* obj, BasicLock* lock);
|
/openjdk7/jdk/test/sun/java2d/pipe/hw/RSLAPITest/ |
H A D | RSLAPITest.java | 114 rq.lock(); 265 rq.lock();
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | Cipher.java | 237 private final Object lock; field in class:Cipher 259 this.lock = null; 272 this.lock = null; 282 this.lock = new Object(); 705 synchronized (lock) { 810 synchronized (lock) {
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Toolkit.cpp | 1201 * idle and release the lock here, then eventually we get the 1237 // If we've finished processing events for now, release the lock 1793 CriticalSection::Lock lock(initLock); 1817 CriticalSection::Lock lock(initLock); 1825 CriticalSection::Lock lock(initLock); 1852 CriticalSection::Lock lock(threadLock); 1902 CriticalSection::Lock lock(threadLock); 1919 CriticalSection::Lock lock(threadLock); 1955 CriticalSection::Lock lock(threadLock); 1981 CriticalSection::Lock lock(threadLoc [all...] |
H A D | awt_Toolkit.h | 134 // lock/unlock actions 517 // lock for Init/Clean 557 CriticalSection::Lock lock(threadLock); 561 CriticalSection::Lock lock(threadLock); 568 // data access lock
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ClassLoader.java | 108 * loading can lead to deadlocks because the loader lock is held for the 236 // Maps class name to the corresponding lock object when the current 239 // is parallel capable and the appropriate lock object for class loading. 288 // no finer-grained lock; lock on the classloader instance 440 * Returns the lock object for class loading operations. 450 * @return the lock for class loading operations 460 Object lock = this; 463 lock = parallelLockMap.putIfAbsent(className, newLock); 464 if (lock [all...] |
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | OSXOffScreenSurfaceData.java | 51 Object lock; field in class:OSXOffScreenSurfaceData 453 return this.lock; 471 this.lock = new Object();
|
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.c | 424 EnterCriticalSection(&splash->lock); 430 LeaveCriticalSection(&splash->lock); 439 InitializeCriticalSection(&splash->lock);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Basic.java | 167 // exercise lock methods 175 // test 1 - acquire lock and check that tryLock throws 178 fl = ch.lock().get(); 193 // test 2 - acquire try and check that lock throws OverlappingFileLockException 196 throw new RuntimeException("Unable to acquire lock"); 198 ch.lock((Void)null, new CompletionHandler<FileLock,Void> () { 270 // check lock fails with ClosedChannelException 272 ch.lock().get();
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XSelection.java | 50 private static final Object lock = new Object(); field in class:XSelection 76 // The orders of the lock acquisition: 78 // lock -> awtLock. 96 // protected with 'lock' and awtLock. 198 synchronized (lock) { 272 synchronized (lock) {
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | SunToolkit.java | 209 * The AWT lock is typically only used on Unix platforms to synchronize 244 AWT_LOCK.lock(); 467 * not be called under another lock since it locks the EventQueue. 526 flushLock.lock(); 620 Object lock = new AWTInvocationLock(); 622 PeerEvent event = new PeerEvent(target, runnable, lock, true, PeerEvent.PRIORITY_EVENT); 624 synchronized (lock) { 627 lock.wait();
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ConcurrentHashMap.java | 120 * followed by lock releases that maintain sequential consistency 370 * must be re-acquired under lock anyway to ensure sequential 543 * acquire lock, creating and returning one if not found. Upon 544 * return, guarantees that lock is held. UNlike in most 570 lock(); 584 * acquire lock for a remove or replace operation. Upon 585 * return, guarantees that lock is held. Note that we must 586 * lock even if the key is not found, to ensure sequential 603 lock(); 699 lock(); [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | ImageSurfaceData.m | 1014 // if we do, lock down Java pixels, this halts GarbageCollector! 1035 holdJavaPixels(env, isdo); // we lock again since we are reusing pixels, but we must ensure CGImageRef immutability 1036 // we can lock these pixels down because they are nio based, so we don't halt the GarbageCollector 1377 pthread_mutex_lock(&isdo->lock); 1429 pthread_mutex_unlock(&isdo->lock); 1503 pthread_mutex_destroy(&isdo->lock); 1513 pthread_mutex_lock(&isdo->lock); 1534 pthread_mutex_unlock(&isdo->lock); 1544 pthread_mutex_lock(&isdo->lock); 1568 pthread_mutex_unlock(&isdo->lock); [all...] |
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | c1_MacroAssembler_x86.cpp | 67 if (os::is_MP()) MacroAssembler::lock(); // must be immediately before cmpxchg! 128 if (os::is_MP()) MacroAssembler::lock(); // must be immediately before cmpxchg!
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_GraphBuilder.hpp | 337 void inline_sync_entry(Value lock, BlockBegin* sync_handler); 338 void fill_sync_handler(Value lock, BlockBegin* sync_handler, bool default_handler = false);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/ |
H A D | CGLGraphicsConfig.java | 141 rq.lock(); 250 rq.lock();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/ |
H A D | TreeTranslator.java | 209 tree.lock = translate(tree.lock);
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | SSLStreams.java | 433 handshaking.lock(); 446 /* do the (complete) handshake after acquiring the handshake lock. 453 handshaking.lock();
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | AsynchronousSocketChannelImpl.java | 115 closeLock.readLock().lock(); 135 closeLock.writeLock().lock();
|