mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8148696: Race loading hsdis may cause SIGSEGV
Guard library loading with a lock Reviewed-by: vlivanov
This commit is contained in:
parent
eab1474601
commit
044e5ececc
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class Disassembler {
|
|||
|
||||
public:
|
||||
static bool can_decode() {
|
||||
ttyLocker tl;
|
||||
return (_decode_instructions_virtual != NULL) ||
|
||||
(_decode_instructions != NULL) ||
|
||||
load_library();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue