mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8202014: Possible to receive signal before signal semaphore created
Initialize jdk.internal.misc.Signal in os_init2 and rename initialization functions. Reviewed-by: dholmes, stuefe
This commit is contained in:
parent
bc795f4eb8
commit
768632f24b
11 changed files with 41 additions and 28 deletions
|
@ -3813,7 +3813,7 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
|
|||
#endif // INCLUDE_MANAGEMENT
|
||||
|
||||
// Signal Dispatcher needs to be started before VMInit event is posted
|
||||
os::signal_init(CHECK_JNI_ERR);
|
||||
os::initialize_jdk_signal_support(CHECK_JNI_ERR);
|
||||
|
||||
// Start Attach Listener if +StartAttachListener or it can't be started lazily
|
||||
if (!DisableAttachMechanism) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue