equal
deleted
inserted
replaced
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 } |