changeset 55736:2660d47140da

8227815: Minimal VM: set_state is not a member of AttachListener Reviewed-by: cjplummer
author ysuenaga
date Thu, 18 Jul 2019 21:25:41 +0900
parents 08893cf52ee9
children 45133b603c21
files src/hotspot/share/runtime/os.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.