8295849: Consolidate Threads::owning_thread*

Reviewed-by: dcubed, sspitsyn
This commit is contained in:
Roman Kennke 2022-10-28 20:23:21 +00:00
parent 1c86cf5507
commit a44ebd5fbc
7 changed files with 32 additions and 50 deletions

View file

@ -1008,7 +1008,6 @@ bool ObjectSynchronizer::current_thread_holds_lock(JavaThread* current,
return false;
}
// FIXME: jvmti should call this
JavaThread* ObjectSynchronizer::get_lock_owner(ThreadsList * t_list, Handle h_obj) {
oop obj = h_obj();
address owner = NULL;