Navigation Menu

Skip to content

Commit

Permalink
8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit cod…
Browse files Browse the repository at this point in the history
…e is 134"

Backport-of: 20053ae
  • Loading branch information
TheRealMDoerr committed Jul 22, 2021
1 parent 8637f65 commit d78e2be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/hotspot/share/runtime/os.cpp
Expand Up @@ -370,12 +370,15 @@ static void signal_thread_entry(JavaThread* thread, TRAPS) {
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.
Expand Down

1 comment on commit d78e2be

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.