review (XS) for 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Igor Veresov
igor.veresov at oracle.com
Thu Apr 7 19:28:27 PDT 2011
Looks good.
igor
On 4/7/11 7:12 PM, Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/7034957
>
> 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
> Reviewed-by:
>
> The code add in 7033779 to acquire the CodeCache_lock in
> largest_free_block creates ordering problems with ttyLocker. The
> simplest thing is to add a ttyUnlocker. Tested by running
> -XX:+LogCompilation while triggering a sweep.
>
More information about the hotspot-compiler-dev
mailing list