src/share/vm/utilities/vmError.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hs25_8011661 Cdiff src/share/vm/utilities/vmError.hpp

src/share/vm/utilities/vmError.hpp

Print this page

        

*** 32,45 **** class VMError : public StackObj { friend class VM_ReportJavaOutOfMemory; friend class Decoder; - enum ErrorType { - internal_error = 0xe0000000, - oom_error = 0xe0000001 - }; int _id; // Solaris/Linux signals: 0 - SIGRTMAX // Windows exceptions: 0xCxxxxxxx system errors // 0x8xxxxxxx system warnings const char * _message; --- 32,41 ----
*** 94,116 **** char* buf, int buflen, bool verbose = false); // accessor const char* message() const { return _message; } const char* detail_msg() const { return _detail_msg; } ! bool should_report_bug(unsigned int id) { return id != oom_error; } public: // Constructor for crashes VMError(Thread* thread, unsigned int sig, address pc, void* siginfo, void* context); // Constructor for VM internal errors VMError(Thread* thread, const char* filename, int lineno, const char* message, const char * detail_msg); // Constructor for VM OOM errors VMError(Thread* thread, const char* filename, int lineno, size_t size, ! const char* message); // Constructor for non-fatal errors VMError(const char* message); // return a string to describe the error char *error_string(char* buf, int buflen); --- 90,115 ---- char* buf, int buflen, bool verbose = false); // accessor const char* message() const { return _message; } const char* detail_msg() const { return _detail_msg; } ! bool should_report_bug(unsigned int id) { ! return (id != OOM_MALLOC_ERROR) && (id != OOM_MMAP_ERROR); ! } public: + // Constructor for crashes VMError(Thread* thread, unsigned int sig, address pc, void* siginfo, void* context); // Constructor for VM internal errors VMError(Thread* thread, const char* filename, int lineno, const char* message, const char * detail_msg); // Constructor for VM OOM errors VMError(Thread* thread, const char* filename, int lineno, size_t size, ! VMErrorType vm_err_type, const char* message); // Constructor for non-fatal errors VMError(const char* message); // return a string to describe the error char *error_string(char* buf, int buflen);
src/share/vm/utilities/vmError.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File