src/share/vm/runtime/unhandledOops.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 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) 2005, 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.
*** 19,28 **** --- 19,32 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ + + #ifndef SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP + #define SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP + #ifdef CHECK_UNHANDLED_OOPS // Detect unhanded oops in VM code // The design is that when an oop is declared on the stack as a local
*** 79,83 **** --- 83,89 ---- const intptr_t BAD_OOP_ADDR = 0xfffffffffffffff1; #else const intptr_t BAD_OOP_ADDR = 0xfffffff1; #endif // _LP64 #endif // CHECK_UNHANDLED_OOPS + + #endif // SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP