Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/vmError.hpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
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 }; |