1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, 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. |
125 |
125 |
126 |
126 |
127 klassOop oopFactory::new_instanceKlass(Symbol* name, int vtable_len, int itable_len, |
127 klassOop oopFactory::new_instanceKlass(Symbol* name, int vtable_len, int itable_len, |
128 int static_field_size, |
128 int static_field_size, |
129 unsigned int nonstatic_oop_map_count, |
129 unsigned int nonstatic_oop_map_count, |
|
130 AccessFlags access_flags, |
130 ReferenceType rt, TRAPS) { |
131 ReferenceType rt, TRAPS) { |
131 instanceKlassKlass* ikk = instanceKlassKlass::cast(Universe::instanceKlassKlassObj()); |
132 instanceKlassKlass* ikk = instanceKlassKlass::cast(Universe::instanceKlassKlassObj()); |
132 return ikk->allocate_instance_klass(name, vtable_len, itable_len, static_field_size, nonstatic_oop_map_count, rt, CHECK_NULL); |
133 return ikk->allocate_instance_klass(name, vtable_len, itable_len, |
|
134 static_field_size, nonstatic_oop_map_count, |
|
135 access_flags, rt, CHECK_NULL); |
133 } |
136 } |
134 |
137 |
135 |
138 |
136 constMethodOop oopFactory::new_constMethod(int byte_code_size, |
139 constMethodOop oopFactory::new_constMethod(int byte_code_size, |
137 int compressed_line_number_size, |
140 int compressed_line_number_size, |