< prev index next >

src/share/vm/utilities/vmError.hpp

Print this page

        

*** 84,93 **** --- 84,97 ---- // in progress. static volatile jlong _step_start_time; // Whether or not the last error reporting step did timeout. static volatile bool _step_did_timeout; + static bool _error_reported; + + public: + // set signal handlers on Solaris/Linux or the default exception filter // on Windows, to handle recursive crashes. static void reset_signal_handlers(); // handle -XX:+ShowMessageBoxOnError. buf is used to format the message string
*** 181,188 **** // Called by the WatcherThread to check if error reporting has timed-out. // Returns true if error reporting has not completed within the ErrorLogTimeout limit. static bool check_timeout(); ! }; #endif // SHARE_VM_UTILITIES_VMERROR_HPP --- 185,200 ---- // Called by the WatcherThread to check if error reporting has timed-out. // Returns true if error reporting has not completed within the ErrorLogTimeout limit. static bool check_timeout(); ! // Support for avoiding multiple asserts ! static bool is_error_reported(); + // Test vmassert(), fatal(), guarantee(), etc. + NOT_PRODUCT(static void test_error_handler();) + + // returns an address which is guaranteed to generate a SIGSEGV on read, + // for test purposes, which is not NULL and contains bits in every word + static void* get_segfault_address(); + }; #endif // SHARE_VM_UTILITIES_VMERROR_HPP
< prev index next >