8227815: Minimal VM: set_state is not a member of AttachListener
authorysuenaga
Thu, 18 Jul 2019 21:25:41 +0900
changeset 55736 2660d47140da
parent 55735 08893cf52ee9
child 55737 45133b603c21
8227815: Minimal VM: set_state is not a member of AttachListener Reviewed-by: cjplummer
src/hotspot/share/runtime/os.cpp
--- 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.