# HG changeset patch # User ysuenaga # Date 1563373368 -32400 # Node ID 4888ccfc234e4edba8f722cce63b5941c967348d # Parent 9fbc32392798b7cc89331352790b0da6508acf56 8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134" Reviewed-by: sspitsyn, cjplummer diff -r 9fbc32392798 -r 4888ccfc234e src/hotspot/share/runtime/os.cpp --- a/src/hotspot/share/runtime/os.cpp Sat Jul 13 12:14:24 2019 -0400 +++ b/src/hotspot/share/runtime/os.cpp Wed Jul 17 23:22:48 2019 +0900 @@ -370,12 +370,15 @@ continue; } else if (cur_state == AL_NOT_INITIALIZED) { // Start to initialize. - if (!AttachListener::is_init_trigger()) { + if (AttachListener::is_init_trigger()) { + // Attach Listener has been initialized. + // Accept subsequent request. + continue; + } else { // Attach Listener could not be started. // So we need to transit the state to AL_NOT_INITIALIZED. AttachListener::set_state(AL_NOT_INITIALIZED); } - continue; } else if (AttachListener::check_socket_file()) { // Attach Listener has been started, but unix domain socket file // does not exist. So restart Attach Listener.