Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.hpp @ 2302:da091bb67459
7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
author | sla |
---|---|
date | Mon, 28 Feb 2011 14:19:52 +0100 |
parents | 63d374c54045 |
children | 23ae54207126 |
comparison
equal
deleted
inserted
replaced
2301:f91db74a6810 | 2302:da091bb67459 |
---|---|
490 static void print_date_and_time(outputStream* st); | 490 static void print_date_and_time(outputStream* st); |
491 | 491 |
492 static void print_location(outputStream* st, intptr_t x, bool verbose = false); | 492 static void print_location(outputStream* st, intptr_t x, bool verbose = false); |
493 static size_t lasterror(char *buf, size_t len); | 493 static size_t lasterror(char *buf, size_t len); |
494 | 494 |
495 // Determines whether the calling process is being debugged by a user-mode debugger. | |
496 static bool is_debugger_attached(); | |
497 | |
498 // wait for a key press if PauseAtExit is set | |
499 static void wait_for_keypress_at_exit(void); | |
500 | |
495 // The following two functions are used by fatal error handler to trace | 501 // The following two functions are used by fatal error handler to trace |
496 // native (C) frames. They are not part of frame.hpp/frame.cpp because | 502 // native (C) frames. They are not part of frame.hpp/frame.cpp because |
497 // frame.hpp/cpp assume thread is JavaThread, and also because different | 503 // frame.hpp/cpp assume thread is JavaThread, and also because different |
498 // OS/compiler may have different convention or provide different API to | 504 // OS/compiler may have different convention or provide different API to |
499 // walk C frames. | 505 // walk C frames. |