Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/oopFactory.cpp @ 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 |
line wrap: on
line diff
--- a/src/share/vm/memory/oopFactory.cpp Thu Apr 26 16:24:15 2012 -0400 +++ b/src/share/vm/memory/oopFactory.cpp Wed May 02 13:21:36 2012 -0400 @@ -128,11 +128,12 @@ int static_field_size, unsigned int nonstatic_oop_map_count, AccessFlags access_flags, - ReferenceType rt, TRAPS) { + ReferenceType rt, + KlassHandle host_klass, TRAPS) { instanceKlassKlass* ikk = instanceKlassKlass::cast(Universe::instanceKlassKlassObj()); return ikk->allocate_instance_klass(name, vtable_len, itable_len, static_field_size, nonstatic_oop_map_count, - access_flags, rt, CHECK_NULL); + access_flags, rt, host_klass, CHECK_NULL); }