hotspot/src/share/vm/runtime/os.hpp
changeset 8478 d89e2f60ba40
parent 8330 5f6046a69677
parent 8476 7e34c2d4cf9b
child 9125 3b9a527cd492
--- a/hotspot/src/share/vm/runtime/os.hpp	Fri Feb 25 12:46:49 2011 -0800
+++ b/hotspot/src/share/vm/runtime/os.hpp	Mon Feb 28 15:35:45 2011 -0800
@@ -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