comparison src/share/vm/utilities/vmError.hpp @ 4917:db006a85bf91

7141259: Native stack is missing in hs_err Summary: Code cleanup and creating a private decoder for error handler, since it can be triggered from in signal handler, where no lock can be taken Reviewed-by: dholmes, kamg, acorn, coleenp
author zgu
date Thu, 09 Feb 2012 10:16:26 -0500
parents 63d374c54045
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
4864:b2cd0ee8f778 4917:db006a85bf91
25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP 25 #ifndef SHARE_VM_UTILITIES_VMERROR_HPP
26 #define SHARE_VM_UTILITIES_VMERROR_HPP 26 #define SHARE_VM_UTILITIES_VMERROR_HPP
27 27
28 #include "utilities/globalDefinitions.hpp" 28 #include "utilities/globalDefinitions.hpp"
29 29
30 30 class Decoder;
31 class VM_ReportJavaOutOfMemory; 31 class VM_ReportJavaOutOfMemory;
32 32
33 class VMError : public StackObj { 33 class VMError : public StackObj {
34 friend class VM_ReportJavaOutOfMemory; 34 friend class VM_ReportJavaOutOfMemory;
35 friend class Decoder;
35 36
36 enum ErrorType { 37 enum ErrorType {
37 internal_error = 0xe0000000, 38 internal_error = 0xe0000000,
38 oom_error = 0xe0000001 39 oom_error = 0xe0000001
39 }; 40 };