Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlassKlass.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 | c7f3d0b4570f |
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. |
44 klassOop allocate_instance_klass(Symbol* name, | 44 klassOop allocate_instance_klass(Symbol* name, |
45 int vtable_len, | 45 int vtable_len, |
46 int itable_len, | 46 int itable_len, |
47 int static_field_size, | 47 int static_field_size, |
48 unsigned int nonstatic_oop_map_count, | 48 unsigned int nonstatic_oop_map_count, |
49 AccessFlags access_flags, | |
49 ReferenceType rt, | 50 ReferenceType rt, |
50 TRAPS); | 51 TRAPS); |
51 | 52 |
52 // Casting from klassOop | 53 // Casting from klassOop |
53 static instanceKlassKlass* cast(klassOop k) { | 54 static instanceKlassKlass* cast(klassOop k) { |