src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/runtime/synchronizer.cpp Wed Jan 15 01:43:03 2014
--- new/src/share/vm/runtime/synchronizer.cpp Wed Jan 15 01:43:02 2014
*** 735,748 ****
--- 735,748 ----
assert(mark->is_neutral(), "sanity check");
return false;
}
// Be aware of this method could revoke bias of the lock object.
! // This method querys the ownership of the lock handle specified by 'h_obj'.
! // This method queries the ownership of the lock handle specified by 'h_obj'.
// If the current thread owns the lock, it returns owner_self. If no
// thread owns the lock, it returns owner_none. Otherwise, it will return
! // ower_other.
! // owner_other.
ObjectSynchronizer::LockOwnership ObjectSynchronizer::query_lock_ownership
(JavaThread *self, Handle h_obj) {
// The caller must beware this method can revoke bias, and
// revocation can result in a safepoint.
assert (!SafepointSynchronize::is_at_safepoint(), "invariant") ;
src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File