changeset 55719:4888ccfc234e

8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134" Reviewed-by: sspitsyn, cjplummer
author ysuenaga
date Wed, 17 Jul 2019 23:22:48 +0900
parents 9fbc32392798
children dec1d532c000
files src/hotspot/share/runtime/os.cpp
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.