Searched refs:lock (Results 251 - 275 of 393) sorted by relevance

<<111213141516

/openjdk7/jdk/src/share/classes/java/util/
H A DTimer.java399 synchronized(task.lock) {
533 synchronized(task.lock) {
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DdirtyCardQueue.cpp100 Mutex* lock, PtrQueueSet* fl_owner) {
104 _shared_dirty_card_queue.set_lock(lock);
97 initialize(Monitor* cbl_mon, Mutex* fl_lock, int process_completed_threshold, int max_completed_queue, Mutex* lock, PtrQueueSet* fl_owner) argument
H A Dvm_operations_g1.cpp194 // actually taking the lock and doing the wait.
249 Heap_lock->lock();
/openjdk7/hotspot/src/share/vm/oops/
H A DmarkOop.hpp39 // hash:25 ------------>| age:4 biased_lock:1 lock:2 (normal object)
40 // JavaThread*:23 epoch:2 age:4 biased_lock:1 lock:2 (biased object)
46 // unused:25 hash:31 -->| unused:1 age:4 biased_lock:1 lock:2 (normal object)
47 // JavaThread*:54 epoch:2 unused:1 age:4 biased_lock:1 lock:2 (biased object)
51 // unused:25 hash:31 -->| cms_free:1 age:4 biased_lock:1 lock:2 (COOPs && normal object)
52 // JavaThread*:54 epoch:2 cms_free:1 age:4 biased_lock:1 lock:2 (COOPs && biased object)
62 // - the biased lock pattern is used to bias a lock toward a given
63 // thread. When this pattern is set in the low three bits, the lock
66 // lock i
314 encode(BasicLock* lock) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Druntime.hpp55 // code in various ways. Currently they are used by the lock coarsening code
165 static void complete_monitor_locking_C(oopDesc* obj, BasicLock* lock, JavaThread* thread);
166 static void complete_monitor_unlocking_C(oopDesc* obj, BasicLock* lock);
H A Dmacro.hpp98 void expand_lock_node(LockNode *lock);
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DVirtualMachineManagerImpl.java53 private static final Object lock = new Object(); field in class:VirtualMachineManagerImpl
63 synchronized (lock) {
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Runtime1.hpp153 static void monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock);
154 static void monitorexit (JavaThread* thread, BasicObjectLock* lock);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousServerSocketChannelImpl.java56 // need this lock to set local address
83 closeLock.readLock().lock();
103 closeLock.writeLock().lock();
/openjdk7/jdk/src/share/classes/java/security/
H A DSignature.java908 // lock for mutex during provider selection
909 private final Object lock; field in class:Signature.Delegate
923 this.lock = null; // no lock needed
932 this.lock = new Object();
991 synchronized (lock) {
1041 synchronized (lock) {
/openjdk7/hotspot/src/share/vm/runtime/
H A Dmutex.cpp60 // is indeed the last thread to have acquired the lock.
82 // 2. Minimize lock migration
85 // 5. Minimize outer lock hold times
118 // a successor, so the successor can (re)compete for ownership of the lock.
123 // the lock it will decrement the AcquireCounter field. When the count
125 // the lock directly to some thread on the EntryList, and then move itself to the
129 // bounded producer-consumer relationships, so lock domination is not usually
131 // a fair lock from a fast lock, but not vice-versa.
136 // We use OnDeck as a pseudo-lock t
899 void Monitor::lock (Thread * Self) { function in class:Monitor
948 void Monitor::lock() { function in class:Monitor
1259 contains(Monitor* locks, Monitor * lock) argument
[all...]
H A DvframeArray.cpp87 monitor->lock()->move_to(monitor->owner(), dest->lock());
297 src->lock()->move_to(src->obj(), top->lock());
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/protocol/
H A DCorbaClientRequestDispatcherImpl.java158 // with identical hashCode(), so we lock on same monitor for equal parameters
161 Object lock = locks.get(contactInfo);
163 if (lock == null) {
165 lock = locks.putIfAbsent(contactInfo, newLock);
166 if (lock == null) {
167 lock = newLock;
171 synchronized (lock) {
276 synchronized (lock) {
/openjdk7/hotspot/src/cpu/zero/vm/
H A DcppInterpreter_zero.cpp232 monitor->lock()->set_displaced_header(disp);
235 monitor->lock()->set_displaced_header(NULL);
376 BasicLock *lock = monitor->lock(); local
377 markOop header = lock->displaced_header();
382 if (Atomic::cmpxchg_ptr(header, rcvr->mark_addr(), lock) != lock) {
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_PCM.cpp245 lock();
252 lock();
279 lock();
289 lock();
315 lock();
334 lock();
355 inline void lock() { function in class:RingBuffer
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageWriter.java1083 cbLock.lock();
1213 * NB: we do not check the call back lock here, we allow to abort
1271 cbLock.lock();
1299 cbLock.lock();
1308 cbLock.lock();
1318 cbLock.lock();
1328 cbLock.lock();
1792 cbLock.lock();
1836 cbLock.lock();
1869 throw new IllegalStateException("Attempt to clear thread lock for
1895 private void lock() { method in class:JPEGImageWriter.CallBackLock
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp250 MutexLocker notifier(task->lock(), thread);
253 task->lock()->notify_all();
349 // Do not grab any lock, do not allocate memory.
596 assert(lock()->owned_by_self(), "must own lock");
627 lock()->notify_all();
637 MutexLocker locker(lock());
643 bool timedout = lock()->wait(!Mutex::_no_safepoint_check_flag, NmethodSweepCheckInterval*1000);
645 MutexUnlocker ul(lock());
651 lock()
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFileSystemModel.java436 private final Object lock = new Object(); field in class:AquaFileSystemModel.DoChangeContents
445 synchronized(lock) {
452 synchronized(lock) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/interceptors/
H A DInterceptorList.java149 void lock() { method in class:InterceptorList
/openjdk7/jdk/src/share/classes/sun/awt/dnd/
H A DSunDropTargetContextPeer.java103 * global lock
573 DataTransferer.getInstance().getToolkitThreadBlockedHandler().lock();
868 handler.lock();
876 handler.lock();
910 handler.lock();
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodManager.java346 Object lock = new AWTInvocationLock();
355 lock,
359 synchronized (lock) {
362 lock.wait();
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DvmGCOperations.cpp108 Heap_lock->lock();
/openjdk7/hotspot/src/share/vm/services/
H A DmemTracker.cpp117 // create nmt lock for multi-thread execution
334 // write a record to proper recorder. No lock can be taken from this method
407 // This method is running at safepoint, with ThreadCritical lock,
435 // check _worker_thread with lock to avoid racing condition
505 MutexLocker lock(_query_lock);
516 MutexLocker lock(_query_lock);
529 MutexLocker lock(_query_lock);
573 MutexLocker lock(_query_lock);
637 * 1) Does it need to take ThreadCritical lock to write tracking record
641 * 1. When nmt is in single-threaded bootstrapping mode, no lock i
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java99 int lock(FileDescriptor fd, boolean blocking, long pos, long size, method in class:FileDispatcherImpl
/openjdk7/jdk/src/share/demo/jvmti/mtrace/
H A Dmtrace.c119 jrawMonitorID lock; member in struct:__anon541
137 error = (*jvmti)->RawMonitorEnter(jvmti, gdata->lock);
147 error = (*jvmti)->RawMonitorExit(jvmti, gdata->lock);
784 error = (*jvmti)->CreateRawMonitor(jvmti, "agent data", &(gdata->lock));

Completed in 116 milliseconds

<<111213141516