Searched defs:lock (Results 176 - 200 of 210) sorted by relevance

123456789

/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_LIRGenerator_sparc.cpp409 LIR_Opr lock = FrameMap::G1_opr; local
421 monitor_enter(obj.result(), lock, hdr, scratch, x->monitor_no(), info_for_exception, info);
431 LIR_Opr lock = FrameMap::G1_opr; local
434 monitor_exit(obj_temp, lock, hdr, LIR_OprFact::illegalOpr, x->monitor_no());
H A Dc1_LIRAssembler_sparc.cpp191 // Similarly with locks. The first lock slot in the osr buffer is the nth lock
192 // from the interpreter frame, the nth lock slot in the osr buffer is 0th lock
193 // in the interpreter frame (the method lock if a sync method)
206 // the OSR buffer using 2 word entries: first the lock and then
220 // Copy the lock field into the compiled activation.
2920 Register lock = op->lock_opr()->as_register(); local
2931 __ lock_object(hdr, obj, lock, op->scratch_opr()->as_register(), *op->stub()->entry());
2946 __ unlock_object(hdr, obj, lock, *o
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dsynchronizer.cpp169 void ObjectSynchronizer::fast_enter(Handle obj, BasicLock* lock, bool attempt_rebias, TRAPS) { argument
183 slow_enter (obj, lock, THREAD) ;
186 void ObjectSynchronizer::fast_exit(oop object, BasicLock* lock, TRAPS) { argument
189 markOop dhw = lock->displaced_header();
192 // Recursive stack-lock.
211 if (mark == (markOop) lock) {
227 void ObjectSynchronizer::slow_enter(Handle obj, BasicLock* lock, TRAPS) { argument
234 lock->set_displaced_header(mark);
235 if (mark == (markOop) Atomic::cmpxchg_ptr(lock, obj()->mark_addr(), mark)) {
242 assert(lock !
268 slow_exit(oop object, BasicLock* lock, TRAPS) argument
[all...]
H A Ddeoptimization.cpp957 BasicLock* lock = mon_info->lock(); local
958 ObjectSynchronizer::slow_enter(obj, lock, thread);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DX11Color.c1344 int lock) {
1347 if (lock) {
1369 if (lock) {
1373 if (lock) {
1392 if (lock) {
1343 awtJNI_CreateColorData(JNIEnv *env, AwtGraphicsConfigDataPtr adata, int lock) argument
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_table.c44 * Each table has a unique lock, all accesses are protected.
129 jrawMonitorID lock; /* Lock for table access. */ member in struct:LookupTable
704 "HPROF %s table lock", name);
706 ltable->lock = lock_create(lock_name);
721 lock_enter(ltable->lock); {
723 } lock_exit(ltable->lock);
736 lock_enter(ltable->lock); {
739 } lock_exit(ltable->lock);
750 lock_enter(ltable->lock); {
774 } lock_exit(ltable->lock);
[all...]
/openjdk7/jdk/src/share/demo/jvmti/heapTracker/
H A DheapTracker.c154 jrawMonitorID lock; member in struct:__anon526
176 error = (*jvmti)->RawMonitorEnter(jvmti, gdata->lock);
186 error = (*jvmti)->RawMonitorExit(jvmti, gdata->lock);
993 error = (*jvmti)->CreateRawMonitor(jvmti, "agent data", &(gdata->lock));
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DAccessibleHTML.java152 * If possible acquires a lock on the Document. If a lock has been
156 private Object lock() { method in class:AccessibleHTML
167 * Releases a lock previously obtained via <code>lock</code>.
179 Object lock = lock();
188 unlock(lock);
2793 Object lock = lock();
[all...]
H A DHTMLEditorKit.java1482 * <p>NOTE: None of the convenience methods obtain a lock on the
2147 Object lock = lock(editor);
2156 unlock(lock);
2173 * If possible acquires a lock on the Document. If a lock has been
2177 private Object lock(JEditorPane editor) { method in class:HTMLEditorKit.ActivateLinkAction
2188 * Releases a lock previously obtained via <code>lock</code>.
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassLoader.cpp801 // Bootstrap loader no longer holds system loader lock obj serializing
987 // the behavior of system & user-defined classloader lock, whether
1130 void *lock; /* read lock */ member in struct:real_jzfile13
1163 void *lock; /* read lock */ member in struct:real_jzfile12
/openjdk7/hotspot/src/share/vm/interpreter/
H A DbytecodeInterpreter.cpp656 // lock method if synchronized
756 mon->lock()->set_displaced_header(displaced);
760 mon->lock()->set_displaced_header(NULL);
862 entry->lock()->set_displaced_header(displaced);
866 entry->lock()->set_displaced_header(NULL);
1681 entry->lock()->set_displaced_header(displaced);
1685 entry->lock()->set_displaced_header(NULL);
1706 BasicLock* lock = most_recent->lock(); local
1707 markOop header = lock
2656 BasicLock* lock = end->lock(); local
2717 BasicLock* lock = base->lock(); local
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp356 // Not a monitor lock reference.
365 // lock
366 os->print("lock%d)", data);
1782 report_monitor_mismatch("nested redundant lock -- bailout...");
1787 CellTypeState lock = CellTypeState::make_lock_ref(bci); local
1790 replace_all_CTS_matches(actual, lock);
1791 monitor_push(lock);
1824 // out the lock when it is popped from the monitor stack
/openjdk7/hotspot/src/share/vm/opto/
H A Dcallnode.cpp1027 void SafePointNode::push_monitor(const FastLockNode *lock) { argument
1035 add_req(lock->box_node());
1036 add_req(lock->obj_node());
1252 // Redundant lock elimination
1255 // immediately reacquire a lock in a piece of code where no operations
1257 // skip releasing and reacquiring the lock without violating any
1258 // fairness requirements. Doing this around a loop could cause a lock
1261 // redundant meaning that we don't introduce new lock operations on
1280 // the lock of the final call to s is eliminated.
1291 // 3. In this case we eliminate the unlock of the first s, the lock
1407 find_matching_unlock(const Node* ctrl, LockNode* lock, GrowableArray<AbstractLockNode*> &lock_ops) argument
1458 LockNode *lock = ctrl->as_Lock(); local
1469 find_lock_and_unlock_through_if(Node* node, LockNode* lock, GrowableArray<AbstractLockNode*> &lock_ops) argument
1504 find_unlocks_for_region(const RegionNode* region, LockNode* lock, GrowableArray<AbstractLockNode*> &lock_ops) argument
1613 AbstractLockNode* lock = lock_ops.at(i); local
1629 AbstractLockNode* lock = lock_ops.at(i); local
[all...]
H A Dmacro.cpp1797 // Mark all associated (same box and obj) lock and unlock nodes for
1809 // Box is used only in one lock region. Mark this box as eliminated.
1818 // Check lock's box since box could be referenced by Lock's debug info.
1833 // to indicate that all associated lock and unlock nodes are marked
1899 // and it is used to indicate that all associated lock
1939 // we have determined that this lock/unlock can be eliminated, we simply
1942 // Note: The membar's associated with the lock/unlock are currently not
1959 log->head("eliminate_lock lock='%d'",
1983 // There are 2 projections from the lock. The lock nod
2035 expand_lock_node(LockNode *lock) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DRealTimeSequencer.java1250 private final Object lock = new Object(); field in class:RealTimeSequencer.PlayThread
1295 synchronized(lock) {
1296 lock.notifyAll();
1308 synchronized(lock) {
1310 lock.wait(2000);
1326 synchronized(lock) {
1327 lock.notifyAll();
1341 synchronized(lock) {
1342 lock.notifyAll();
1397 synchronized (lock) {
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_LIRGenerator_x86.cpp348 // "lock" stores the address of the monitor stack slot, so this is not an oop
349 LIR_Opr lock = new_register(T_INT); local
363 monitor_enter(obj.result(), lock, syncTempOpr(), scratch,
374 LIR_Opr lock = new_register(T_INT); local
377 monitor_exit(obj_temp, lock, syncTempOpr(), LIR_OprFact::illegalOpr, x->monitor_no());
H A Dc1_LIRAssembler_x86.cpp300 // Similarly with locks. The first lock slot in the osr buffer is the nth lock
301 // from the interpreter frame, the nth lock slot in the osr buffer is 0th lock
302 // in the interpreter frame (the method lock if a sync method)
315 // the OSR buffer using 2 word entries: first the lock and then
1925 __ lock();
1947 __ lock();
1955 __ lock();
1962 __ lock();
3483 Register lock = op->lock_opr()->as_register(); local
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.cpp1398 void LIR_List::lock_object(LIR_Opr hdr, LIR_Opr obj, LIR_Opr lock, LIR_Opr scratch, CodeStub* stub, CodeEmitInfo* info) { argument
1403 lock,
1409 void LIR_List::unlock_object(LIR_Opr hdr, LIR_Opr obj, LIR_Opr lock, LIR_Opr scratch, CodeStub* stub) { argument
1414 lock,
1745 case lir_lock: s = "lock"; break;
/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 DJPEGImageReader.java241 cbLock.lock();
268 cbLock.lock();
305 cbLock.lock();
322 cbLock.lock();
583 cbLock.lock();
696 cbLock.lock();
1262 cbLock.lock();
1331 cbLock.lock();
1348 cbLock.lock();
1357 cbLock.lock();
1670 private void lock() { method in class:JPEGImageReader.CallBackLock
[all...]
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/shark/
H A DsharkTopLevelBlock.cpp1888 // Try a simple lock
1899 Value *lock = builder()->CreatePtrToInt( local
1901 Value *check = builder()->CreateCmpxchgPtr(lock, mark_addr, disp);
1976 Value *lock = builder()->CreatePtrToInt( local
1986 Value *check = builder()->CreateCmpxchgPtr(disp, mark_addr, lock);
1988 builder()->CreateICmpEQ(lock, check),
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCode.java1625 void lock(int register) { method in class:Code.State
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java249 public JCSynchronized Synchronized(JCExpression lock, JCBlock body) { argument
250 JCSynchronized tree = new JCSynchronized(lock, body);
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcompactibleFreeListSpace.cpp49 // highest ranked free list lock rank
153 "a freelist par lock",
156 vm_exit_during_initialization("Could not allocate a par lock");
921 // Since we hold the free list lock, which protects direct
927 // because (for instance) the free list lock does NOT protect
963 // Since we hold the free list lock, which protects direct
969 // because (for instance) the free list lock does NOT protect
1131 // We don't need to lock the bitmap (live_map or dead_map below), because
1185 // We may be calling here without the lock in which case we
1402 void CompactibleFreeListSpace::assert_locked(const Mutex* lock) cons
1758 Mutex* lock = NULL; local
[all...]

Completed in 193 milliseconds

123456789