changeset 58177 | 4932dce35882 |
parent 57787 | 094ef5a91b68 |
child 58679 | 9c3209ff7550 |
--- a/src/hotspot/share/runtime/vframe.cpp Tue Sep 17 09:51:02 2019 +0200 +++ b/src/hotspot/share/runtime/vframe.cpp Tue Sep 17 09:51:02 2019 +0200 @@ -135,7 +135,7 @@ // // Skip the monitor that the thread is blocked to enter or waiting on // - if (!found_first_monitor && (oopDesc::equals(obj, pending_obj) || oopDesc::equals(obj, waiting_obj))) { + if (!found_first_monitor && (obj == pending_obj || obj == waiting_obj)) { continue; } found_first_monitor = true;