src/share/vm/runtime/unhandledOops.hpp

changeset 2314
f95d63e2154a
parent 1907
c18cbe5936b8
child 5103
f9be75d21404
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 #ifndef SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP
26 #define SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP
27
24 #ifdef CHECK_UNHANDLED_OOPS 28 #ifdef CHECK_UNHANDLED_OOPS
25 29
26 // Detect unhanded oops in VM code 30 // Detect unhanded oops in VM code
27 31
28 // The design is that when an oop is declared on the stack as a local 32 // The design is that when an oop is declared on the stack as a local
79 const intptr_t BAD_OOP_ADDR = 0xfffffffffffffff1; 83 const intptr_t BAD_OOP_ADDR = 0xfffffffffffffff1;
80 #else 84 #else
81 const intptr_t BAD_OOP_ADDR = 0xfffffff1; 85 const intptr_t BAD_OOP_ADDR = 0xfffffff1;
82 #endif // _LP64 86 #endif // _LP64
83 #endif // CHECK_UNHANDLED_OOPS 87 #endif // CHECK_UNHANDLED_OOPS
88
89 #endif // SHARE_VM_RUNTIME_UNHANDLEDOOPS_HPP

mercurial