equal
deleted
inserted
replaced
55 |
55 |
56 // used by fatal error handler |
56 // used by fatal error handler |
57 int _current_step; |
57 int _current_step; |
58 const char * _current_step_info; |
58 const char * _current_step_info; |
59 int _verbose; |
59 int _verbose; |
|
60 // First error, and its thread id. We must be able to handle native thread, |
|
61 // so use thread id instead of Thread* to identify thread. |
|
62 static VMError* volatile first_error; |
|
63 static volatile jlong first_error_tid; |
60 |
64 |
61 // used by reporting about OOM |
65 // used by reporting about OOM |
62 size_t _size; |
66 size_t _size; |
63 |
67 |
64 // set signal handlers on Solaris/Linux or the default exception filter |
68 // set signal handlers on Solaris/Linux or the default exception filter |
106 static int get_resetted_sigflags(int sig); |
110 static int get_resetted_sigflags(int sig); |
107 |
111 |
108 // returns original handler for signal, if it was resetted, or NULL if |
112 // returns original handler for signal, if it was resetted, or NULL if |
109 // signal was not changed by error reporter |
113 // signal was not changed by error reporter |
110 static address get_resetted_sighandler(int sig); |
114 static address get_resetted_sighandler(int sig); |
|
115 |
|
116 // check to see if fatal error reporting is in progress |
|
117 static bool fatal_error_in_progress() { return first_error != NULL; } |
111 }; |
118 }; |