< prev index next >
src/hotspot/share/utilities/vmError.hpp
Print this page
@@ -86,10 +86,13 @@
// Whether or not the last error reporting step did timeout.
static volatile bool _step_did_timeout;
static bool _error_reported;
+ // Whether fork and exec should call fork/vfork
+ static bool _vfork_mode;
+
public:
// set signal handlers on Solaris/Linux or the default exception filter
// on Windows, to handle recursive crashes.
static void reset_signal_handlers();
@@ -188,10 +191,12 @@
static bool check_timeout();
// Support for avoiding multiple asserts
static bool is_error_reported();
+ static bool is_forkmode_vfork();
+
// Test vmassert(), fatal(), guarantee(), etc.
NOT_PRODUCT(static void test_error_handler();)
NOT_PRODUCT(static void controlled_crash(int how);)
// returns an address which is guaranteed to generate a SIGSEGV on read,
< prev index next >