7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support

Change the _host_klass to be conditionally created embedded instanceKlass field.

Reviewed-by: jrose, coleenp, dholmes
This commit is contained in:
Jiangli Zhou 2012-05-02 13:21:36 -04:00
parent ea89242447
commit 2fa131f8db
7 changed files with 132 additions and 49 deletions

View file

@ -78,7 +78,8 @@ class oopFactory: AllStatic {
int static_field_size,
unsigned int nonstatic_oop_map_count,
AccessFlags access_flags,
ReferenceType rt, TRAPS);
ReferenceType rt,
KlassHandle host_klass, TRAPS);
// Methods
private: