Code Review for 7021531

Prepared by:never on Tue Feb 22 12:47:03 PST 2011
Workspace:/net/smite.us.oracle.com/export/ws/baseline
Compare against: ssh://hg.openjdk.java.net/jdk7/hotspot-comp-gate/hotspot
Summary of changes: 30 lines changed: 30 ins; 0 del; 0 mod; 2335 unchg
Patch of changes: 7021531.patch
Author comments:
7021531: lock ordering problems after fix for 6354181
Summary:
Reviewed-by:

After the fix for 6354181 we may acquire the Compile_lock while
printing and we may be holding the tty lock. In general there isn't
an easy way to avoid acquiring this lock during printing so the fix
I've ended up with a conditional ttyUnlocker that releases the lock
when we acquire the Compile_lock. I didn't modify the others since
they don't currently seems problematic. Tested with PrintOptoAssembly
on 64 bit that originally showed the problem.

Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/utilities/ostream.hpp

18 lines changed: 18 ins; 0 del; 0 mod; 262 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/utilities/ostream.cpp

11 lines changed: 11 ins; 0 del; 0 mod; 956 unchg

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/ci/ciEnv.cpp

1 line changed: 1 ins; 0 del; 0 mod; 1117 unchg

This code review page was prepared using /never/bin/webrev (vers 23.18-hg-never).