diff src/share/vm/runtime/os.hpp @ 2304:23ae54207126

Merge
author rottenha
date Mon, 28 Feb 2011 15:35:45 -0800
parents 850b2295a494 da091bb67459
children 677234770800
line wrap: on
line diff
--- a/src/share/vm/runtime/os.hpp	Fri Feb 25 12:46:49 2011 -0800
+++ b/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