< prev index next >

src/hotspot/share/runtime/vframe.cpp

Print this page
rev 52074 : 8212053: A few more missing object equals barriers

*** 132,142 **** oop obj = monitor->owner(); if (obj == NULL) continue; // skip unowned monitor // // Skip the monitor that the thread is blocked to enter or waiting on // ! if (!found_first_monitor && (obj == pending_obj || obj == waiting_obj)) { continue; } found_first_monitor = true; result->append(monitor); } --- 132,142 ---- oop obj = monitor->owner(); if (obj == NULL) continue; // skip unowned monitor // // 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))) { continue; } found_first_monitor = true; result->append(monitor); }
< prev index next >