Mercurial > hg > truffle
diff src/share/vm/classfile/classFileParser.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 | 08f8d00f2ae3 |
children | 71afdabfd05b |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp Thu Apr 26 16:24:15 2012 -0400 +++ b/src/share/vm/classfile/classFileParser.cpp Wed May 02 13:21:36 2012 -0400 @@ -3355,7 +3355,8 @@ static_field_size, total_oop_map_count, access_flags, - rt, CHECK_(nullHandle)); + rt, host_klass, + CHECK_(nullHandle)); instanceKlassHandle this_klass (THREAD, ik); assert(this_klass->static_field_size() == static_field_size, "sanity");