src/share/vm/runtime/synchronizer.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/runtime/synchronizer.cpp

src/share/vm/runtime/synchronizer.cpp

Print this page
rev 5732 : [mq]: comments2

*** 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'. // 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. 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") ; --- 735,748 ---- assert(mark->is_neutral(), "sanity check"); return false; } // Be aware of this method could revoke bias of the lock object. ! // 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 ! // 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