hotspot/src/share/vm/runtime/os.hpp
changeset 8476 7e34c2d4cf9b
parent 8119 81eef1b06988
child 8478 d89e2f60ba40
--- a/hotspot/src/share/vm/runtime/os.hpp	Sat Feb 26 13:33:23 2011 -0500
+++ b/hotspot/src/share/vm/runtime/os.hpp	Mon Feb 28 14:19:52 2011 +0100
@@ -492,6 +492,12 @@
   static void print_location(outputStream* st, intptr_t x, bool verbose = false);
   static size_t lasterror(char *buf, size_t len);
 
+  // Determines whether the calling process is being debugged by a user-mode debugger.
+  static bool is_debugger_attached();
+
+  // wait for a key press if PauseAtExit is set
+  static void wait_for_keypress_at_exit(void);
+
   // The following two functions are used by fatal error handler to trace
   // native (C) frames. They are not part of frame.hpp/frame.cpp because
   // frame.hpp/cpp assume thread is JavaThread, and also because different