src/hotspot/share/runtime/vframe.cpp
changeset 58177 4932dce35882
parent 57787 094ef5a91b68
child 58679 9c3209ff7550
equal deleted inserted replaced
58176:470af058bd5f 58177:4932dce35882
   133     oop obj = monitor->owner();
   133     oop obj = monitor->owner();
   134     if (obj == NULL) continue; // skip unowned monitor
   134     if (obj == NULL) continue; // skip unowned monitor
   135     //
   135     //
   136     // Skip the monitor that the thread is blocked to enter or waiting on
   136     // Skip the monitor that the thread is blocked to enter or waiting on
   137     //
   137     //
   138     if (!found_first_monitor && (oopDesc::equals(obj, pending_obj) || oopDesc::equals(obj, waiting_obj))) {
   138     if (!found_first_monitor && (obj == pending_obj || obj == waiting_obj)) {
   139       continue;
   139       continue;
   140     }
   140     }
   141     found_first_monitor = true;
   141     found_first_monitor = true;
   142     result->append(monitor);
   142     result->append(monitor);
   143   }
   143   }