src/share/vm/oops/constMethodOop.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 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) 2003, 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,35 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_OOPS_CONSTMETHODOOP_HPP + #define SHARE_VM_OOPS_CONSTMETHODOOP_HPP + + #include "oops/oop.hpp" + #include "oops/typeArrayOop.hpp" + // An constMethodOop represents portions of a Java method which // do not vary. // // Memory layout (each line represents a word). Note that most // applications load thousands of methods, so keeping the size of this
*** 299,303 **** --- 305,311 ---- // Last short in constMethodOop u2* last_u2_element() const { return (u2*)constMethod_end() - 1; } }; + + #endif // SHARE_VM_OOPS_CONSTMETHODOOP_HPP