mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-20 23:36:18 +00: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
@ -85,6 +85,7 @@ class Disassembler {
|
||||
|
||||
public:
|
||||
static bool can_decode() {
|
||||
ttyLocker tl;
|
||||
return (_decode_instructions_virtual != NULL) ||
|
||||
(_decode_instructions != NULL) ||
|
||||
load_library();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user