< prev index next >

src/hotspot/share/runtime/thread.cpp

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

@@ -4656,11 +4656,12 @@
 
   int i = 0;
   DO_JAVA_THREADS(t_list, p) {
     if (!p->can_call_java()) continue;
 
-    address pending = (address)p->current_pending_monitor();
+    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 >