vmError.hpp revision 1983
2N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2N/A * This code is free software; you can redistribute it and/or modify it 2N/A * under the terms of the GNU General Public License version 2 only, as 2N/A * published by the Free Software Foundation. 2N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2N/A * version 2 for more details (a copy is included in the LICENSE file that 2N/A * accompanied this code). 2N/A * You should have received a copy of the GNU General Public License version 2N/A * 2 along with this work; if not, write to the Free Software Foundation, 2N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2N/A // Windows exceptions: 0xCxxxxxxx system errors 2N/A // 0x8xxxxxxx system warnings 2N/A // additional info for crashes 2N/A // additional info for VM internal errors 2N/A // used by fatal error handler 2N/A // First error, and its thread id. We must be able to handle native thread, 2N/A // so use thread id instead of Thread* to identify thread. 2N/A // used by reporting about OOM 2N/A // on Windows, to handle recursive crashes. 2N/A // handle -XX:+ShowMessageBoxOnError. buf is used to format the message string 2N/A // generate an error report 2N/A // generate a stack trace 2N/A // Constructor for crashes 2N/A // Constructor for VM internal errors 2N/A // Constructor for VM OOM errors 2N/A // Constructor for non-fatal errors 2N/A // return a string to describe the error 2N/A // main error reporting function 2N/A // reporting OutOfMemoryError 2N/A // returns original flags for signal, if it was resetted, or -1 if 2N/A // signal was not changed by error reporter 2N/A // returns original handler for signal, if it was resetted, or NULL if 2N/A // signal was not changed by error reporter 2N/A // check to see if fatal error reporting is in progress 2N/A#
endif // SHARE_VM_UTILITIES_VMERROR_HPP