8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134"
Reviewed-by: sspitsyn, cjplummer
--- 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.