review (XS) for 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
Tom Rodriguez
tom.rodriguez at oracle.com
Thu Apr 7 19:12:15 PDT 2011
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