RFR(S): 8148696: Race loading hsdis may cause SIGSEGV
nils.eliasson at oracle.com
Fri Feb 5 15:22:06 UTC 2016
Please review this fix to loading hsdis library.
We have had two crashes on Sparc where two C2 thread simultaneously
tries to load the hsdis library. Three of four code paths are locked by
the ttyLocker, but the fourth is open to races.
I chose to add another lock (mutex) for this purpose and adapted the
code so that library_load code works as intented.
- The old can_decode() method was removed and resued as an wrapper for
- Fixed a typo
More information about the hotspot-compiler-dev