Skip to content

Commit 8637f65

Browse files
committedJul 22, 2021
8227815: Minimal VM: set_state is not a member of AttachListener
Reviewed-by: clanger
1 parent f3098c4 commit 8637f65

File tree

1 file changed

+2
-0
lines changed
  • src/hotspot/share/runtime

1 file changed

+2
-0
lines changed
 

Diff for: ‎src/hotspot/share/runtime/os.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ static void signal_thread_entry(JavaThread* thread, TRAPS) {
359359

360360
switch (sig) {
361361
case SIGBREAK: {
362+
#if INCLUDE_SERVICES
362363
// Check if the signal is a trigger to start the Attach Listener - in that
363364
// case don't print stack traces.
364365
if (!DisableAttachMechanism) {
@@ -381,6 +382,7 @@ static void signal_thread_entry(JavaThread* thread, TRAPS) {
381382
continue;
382383
}
383384
}
385+
#endif
384386
// Print stack traces
385387
// Any SIGBREAK operations added here should make sure to flush
386388
// the output stream (e.g. tty->flush()) after output. See 4803766.

0 commit comments

Comments
 (0)