Lines Matching defs:lock
2872 // Create the counters for this fast lock.
2880 LockNode *lock = new (C) LockNode(C, tf);
2882 lock->init_req( TypeFunc::Control, control() );
2883 lock->init_req( TypeFunc::Memory , mem );
2884 lock->init_req( TypeFunc::I_O , top() ) ; // does no i/o
2885 lock->init_req( TypeFunc::FramePtr, frameptr() );
2886 lock->init_req( TypeFunc::ReturnAdr, top() );
2888 lock->init_req(TypeFunc::Parms + 0, obj);
2889 lock->init_req(TypeFunc::Parms + 1, box);
2890 lock->init_req(TypeFunc::Parms + 2, flock);
2891 add_safepoint_edges(lock);
2893 lock = _gvn.transform( lock )->as_Lock();
2895 // lock has no side-effects, sets few values
2896 set_predefined_output_for_runtime_call(lock, mem, TypeRawPtr::BOTTOM);
2900 // Add this to the worklist so that the lock can be eliminated
2901 record_for_igvn(lock);
2905 // Update the counter for this lock. Don't bother using an atomic
2907 lock->create_lock_counter(map()->jvms());
2908 increment_counter(lock->counter()->addr());