src/hotspot/share/runtime/os.cpp
changeset 55736 2660d47140da
parent 55719 4888ccfc234e
child 57745 789e967c2731
--- a/src/hotspot/share/runtime/os.cpp	Thu Jul 18 13:16:10 2019 +0200
+++ b/src/hotspot/share/runtime/os.cpp	Thu Jul 18 21:25:41 2019 +0900
@@ -360,6 +360,7 @@
 
     switch (sig) {
       case SIGBREAK: {
+#if INCLUDE_SERVICES
         // Check if the signal is a trigger to start the Attach Listener - in that
         // case don't print stack traces.
         if (!DisableAttachMechanism) {
@@ -385,6 +386,7 @@
             continue;
           }
         }
+#endif
         // Print stack traces
         // Any SIGBREAK operations added here should make sure to flush
         // the output stream (e.g. tty->flush()) after output.  See 4803766.