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 |
24 |
25 # include "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 # include "incls/_methodKlass.cpp.incl" |
26 #include "classfile/javaClasses.hpp" |
|
27 #include "gc_implementation/shared/markSweep.inline.hpp" |
|
28 #include "gc_interface/collectedHeap.inline.hpp" |
|
29 #include "interpreter/interpreter.hpp" |
|
30 #include "memory/gcLocker.hpp" |
|
31 #include "memory/resourceArea.hpp" |
|
32 #include "memory/universe.inline.hpp" |
|
33 #include "oops/constMethodKlass.hpp" |
|
34 #include "oops/klassOop.hpp" |
|
35 #include "oops/methodDataOop.hpp" |
|
36 #include "oops/methodKlass.hpp" |
|
37 #include "oops/oop.inline.hpp" |
|
38 #include "oops/oop.inline2.hpp" |
|
39 #include "oops/symbolOop.hpp" |
|
40 #include "runtime/handles.inline.hpp" |
27 |
41 |
28 klassOop methodKlass::create_klass(TRAPS) { |
42 klassOop methodKlass::create_klass(TRAPS) { |
29 methodKlass o; |
43 methodKlass o; |
30 KlassHandle h_this_klass(THREAD, Universe::klassKlassObj()); |
44 KlassHandle h_this_klass(THREAD, Universe::klassKlassObj()); |
31 KlassHandle k = base_create_klass(h_this_klass, header_size(), o.vtbl_value(), CHECK_NULL); |
45 KlassHandle k = base_create_klass(h_this_klass, header_size(), o.vtbl_value(), CHECK_NULL); |