< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 56777 : See CR7-to-CR8-changes.

*** 4656,4666 **** int i = 0; DO_JAVA_THREADS(t_list, p) { if (!p->can_call_java()) continue; ! 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++; } } --- 4656,4667 ---- int i = 0; DO_JAVA_THREADS(t_list, p) { if (!p->can_call_java()) continue; ! ObjectMonitorHandle omh; ! address pending = (address)p->current_pending_monitor(&omh); if (pending == monitor) { // found a match if (i < count) result->append(p); // save the first count matches i++; } }
< prev index next >