mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8025856: Fix typos in the GC code
Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
This commit is contained in:
parent
4c7c3f0613
commit
81ba2e32c0
150 changed files with 524 additions and 545 deletions
|
@ -737,10 +737,10 @@ bool ObjectSynchronizer::current_thread_holds_lock(JavaThread* thread,
|
|||
}
|
||||
|
||||
// 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue