equal
deleted
inserted
replaced
282 // Competing writers must acquire exclusive access via a lock. |
282 // Competing writers must acquire exclusive access via a lock. |
283 // A losing writer waits on the lock until the winner writes f1 and leaves |
283 // A losing writer waits on the lock until the winner writes f1 and leaves |
284 // the lock, so that when the losing writer returns, he can use the linked |
284 // the lock, so that when the losing writer returns, he can use the linked |
285 // cache entry. |
285 // cache entry. |
286 |
286 |
287 oop cplock = cpool->lock(); |
287 MonitorLockerEx ml(cpool->lock()); |
288 ObjectLocker ol(cplock, Thread::current(), cplock != NULL); |
|
289 if (!is_f1_null()) { |
288 if (!is_f1_null()) { |
290 return; |
289 return; |
291 } |
290 } |
292 |
291 |
293 const methodHandle adapter = call_info.resolved_method(); |
292 const methodHandle adapter = call_info.resolved_method(); |