equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2011, 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. |
39 int klass_oop_size() const { return object_size(); } |
39 int klass_oop_size() const { return object_size(); } |
40 |
40 |
41 // Allocation |
41 // Allocation |
42 DEFINE_ALLOCATE_PERMANENT(instanceKlassKlass); |
42 DEFINE_ALLOCATE_PERMANENT(instanceKlassKlass); |
43 static klassOop create_klass(TRAPS); |
43 static klassOop create_klass(TRAPS); |
44 klassOop allocate_instance_klass(int vtable_len, |
44 klassOop allocate_instance_klass(Symbol* name, |
|
45 int vtable_len, |
45 int itable_len, |
46 int itable_len, |
46 int static_field_size, |
47 int static_field_size, |
47 unsigned int nonstatic_oop_map_count, |
48 unsigned int nonstatic_oop_map_count, |
48 ReferenceType rt, |
49 ReferenceType rt, |
49 TRAPS); |
50 TRAPS); |