Mercurial > hg > graal-compiler
comparison src/share/vm/memory/oopFactory.hpp @ 6038:8bafad97cd26
7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support.
Summary: Change the _host_klass to be conditionally created embedded instanceKlass field.
Reviewed-by: jrose, coleenp, dholmes
author | jiangli |
---|---|
date | Wed, 02 May 2012 13:21:36 -0400 |
parents | 49036505ab5f |
children | 8150fa46d2ed |
comparison
equal
deleted
inserted
replaced
6024:973046802b6f | 6038:8bafad97cd26 |
---|---|
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 AccessFlags access_flags, |
81 ReferenceType rt, TRAPS); | 81 ReferenceType rt, |
82 KlassHandle host_klass, TRAPS); | |
82 | 83 |
83 // Methods | 84 // Methods |
84 private: | 85 private: |
85 static constMethodOop new_constMethod(int byte_code_size, | 86 static constMethodOop new_constMethod(int byte_code_size, |
86 int compressed_line_number_size, | 87 int compressed_line_number_size, |