< prev index next >
src/hotspot/share/runtime/thread.cpp
Print this page
rev 59470 : 8153224.v2.1[12].patch merged with 8153224.v2.13.patch.
@@ -4690,10 +4690,12 @@
int i = 0;
DO_JAVA_THREADS(t_list, p) {
if (!p->can_call_java()) continue;
+ // The first stage of async deflation does not affect any field
+ // used by this comparison so the ObjectMonitor* is usable here.
address pending = (address)p->current_pending_monitor();
if (pending == monitor) { // found a match
if (i < count) result->append(p); // save the first count matches
i++;
}
< prev index next >