comparison src/share/vm/memory/oopFactory.hpp @ 5998:49036505ab5f

7154670: The instanceKlass _implementors[] and _nof_implementors are not needed for non-interface klass. Summary: Change implementor to embedded instanceKlass field. Reviewed-by: sspitsyn, minqi, coleenp
author jiangli
date Thu, 29 Mar 2012 22:18:56 -0400
parents a92cdbac8b9e
children 8bafad97cd26
comparison
equal deleted inserted replaced
5970:0698f5ef5535 5998:49036505ab5f
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.
75 // Instance classes 75 // Instance classes
76 static klassOop new_instanceKlass(Symbol* name, 76 static klassOop new_instanceKlass(Symbol* name,
77 int vtable_len, int itable_len, 77 int vtable_len, int itable_len,
78 int static_field_size, 78 int static_field_size,
79 unsigned int nonstatic_oop_map_count, 79 unsigned int nonstatic_oop_map_count,
80 AccessFlags access_flags,
80 ReferenceType rt, TRAPS); 81 ReferenceType rt, TRAPS);
81 82
82 // Methods 83 // Methods
83 private: 84 private:
84 static constMethodOop new_constMethod(int byte_code_size, 85 static constMethodOop new_constMethod(int byte_code_size,