< prev index next >

src/share/vm/utilities/vmError.hpp

Print this page




  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP
  26 #define SHARE_VM_UTILITIES_VMERROR_HPP
  27 
  28 #include "utilities/globalDefinitions.hpp"
  29 
  30 class Decoder;
  31 class VM_ReportJavaOutOfMemory;
  32 
  33 class VMError : public AllStatic {
  34   friend class VM_ReportJavaOutOfMemory;
  35   friend class Decoder;

  36 
  37   static int         _id;               // Solaris/Linux signals: 0 - SIGRTMAX
  38                                         // Windows exceptions: 0xCxxxxxxx system errors
  39                                         //                     0x8xxxxxxx system warnings
  40 
  41   static const char* _message;
  42   static char        _detail_msg[1024];
  43 
  44   static Thread*     _thread;           // NULL if it's native thread
  45 
  46   // additional info for crashes
  47   static address     _pc;               // faulting PC
  48   static void*       _siginfo;          // ExceptionRecord on Windows,
  49                                         // siginfo_t on Solaris/Linux
  50   static void*       _context;          // ContextRecord on Windows,
  51                                         // ucontext_t on Solaris/Linux
  52 
  53   // additional info for VM internal errors
  54   static const char* _filename;
  55   static int         _lineno;




  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP
  26 #define SHARE_VM_UTILITIES_VMERROR_HPP
  27 
  28 #include "utilities/globalDefinitions.hpp"
  29 
  30 class Decoder;
  31 class VM_ReportJavaOutOfMemory;
  32 
  33 class VMError : public AllStatic {
  34   friend class VM_ReportJavaOutOfMemory;
  35   friend class Decoder;
  36   friend class VMStructs;
  37 
  38   static int         _id;               // Solaris/Linux signals: 0 - SIGRTMAX
  39                                         // Windows exceptions: 0xCxxxxxxx system errors
  40                                         //                     0x8xxxxxxx system warnings
  41 
  42   static const char* _message;
  43   static char        _detail_msg[1024];
  44 
  45   static Thread*     _thread;           // NULL if it's native thread
  46 
  47   // additional info for crashes
  48   static address     _pc;               // faulting PC
  49   static void*       _siginfo;          // ExceptionRecord on Windows,
  50                                         // siginfo_t on Solaris/Linux
  51   static void*       _context;          // ContextRecord on Windows,
  52                                         // ucontext_t on Solaris/Linux
  53 
  54   // additional info for VM internal errors
  55   static const char* _filename;
  56   static int         _lineno;


< prev index next >