src/share/vm/utilities/exceptions.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,36 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_UTILITIES_EXCEPTIONS_HPP + #define SHARE_VM_UTILITIES_EXCEPTIONS_HPP + + #include "memory/allocation.hpp" + #include "oops/oopsHierarchy.hpp" + #include "utilities/sizes.hpp" + // This file provides the basic support for exception handling in the VM. // Note: We do not use C++ exceptions to avoid compiler dependencies and // unpredictable performance. // // Scheme: Exceptions are stored with the thread. There is never more
*** 274,278 **** --- 281,287 ---- // See also preserveException.hpp for PRESERVE_EXCEPTION_MARK macro, // which preserves pre-existing exceptions and does not allow new // exceptions. #define EXCEPTION_MARK Thread* THREAD; ExceptionMark __em(THREAD); + + #endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP