1 /* |
1 /* |
2 * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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_OOPS_CONSTMETHODKLASS_HPP |
|
26 #define SHARE_VM_OOPS_CONSTMETHODKLASS_HPP |
|
27 |
|
28 #include "oops/klass.hpp" |
|
29 #include "oops/oop.hpp" |
|
30 #include "runtime/orderAccess.hpp" |
24 |
31 |
25 // A constMethodKlass is the klass of a constMethodOop |
32 // A constMethodKlass is the klass of a constMethodOop |
26 |
33 |
27 class constMethodKlass : public Klass { |
34 class constMethodKlass : public Klass { |
28 friend class VMStructs; |
35 friend class VMStructs; |
85 const char* internal_name() const; |
92 const char* internal_name() const; |
86 void oop_verify_on(oop obj, outputStream* st); |
93 void oop_verify_on(oop obj, outputStream* st); |
87 bool oop_partially_loaded(oop obj) const; |
94 bool oop_partially_loaded(oop obj) const; |
88 void oop_set_partially_loaded(oop obj); |
95 void oop_set_partially_loaded(oop obj); |
89 }; |
96 }; |
|
97 |
|
98 #endif // SHARE_VM_OOPS_CONSTMETHODKLASS_HPP |