comparison src/share/vm/classfile/classFileParser.cpp @ 975:83c29a26f67c

6879572: SA fails _is_marked_dependent not found Reviewed-by: kamg, dcubed
author acorn
date Wed, 16 Sep 2009 15:42:46 -0400
parents 26b774d693aa
children 74a5db69c1fe
comparison
equal deleted inserted replaced
21:adb1ec24f9ac 22:4361b93f050b
3209 assert(this_klass->nonstatic_oop_map_count() == total_oop_map_count, 3209 assert(this_klass->nonstatic_oop_map_count() == total_oop_map_count,
3210 "sanity"); 3210 "sanity");
3211 3211
3212 // Fill in information already parsed 3212 // Fill in information already parsed
3213 this_klass->set_access_flags(access_flags); 3213 this_klass->set_access_flags(access_flags);
3214 if (verify) { 3214 this_klass->set_should_verify_class(verify);
3215 this_klass->set_should_verify_class();
3216 }
3217 jint lh = Klass::instance_layout_helper(instance_size, false); 3215 jint lh = Klass::instance_layout_helper(instance_size, false);
3218 this_klass->set_layout_helper(lh); 3216 this_klass->set_layout_helper(lh);
3219 assert(this_klass->oop_is_instance(), "layout is correct"); 3217 assert(this_klass->oop_is_instance(), "layout is correct");
3220 assert(this_klass->size_helper() == instance_size, "correct size_helper"); 3218 assert(this_klass->size_helper() == instance_size, "correct size_helper");
3221 // Not yet: supers are done below to support the new subtype-checking fields 3219 // Not yet: supers are done below to support the new subtype-checking fields
3222 //this_klass->set_super(super_klass()); 3220 //this_klass->set_super(super_klass());
3223 this_klass->set_class_loader(class_loader()); 3221 this_klass->set_class_loader(class_loader());
3224 this_klass->set_nonstatic_field_size(nonstatic_field_size); 3222 this_klass->set_nonstatic_field_size(nonstatic_field_size);
3225 if (has_nonstatic_fields) { 3223 this_klass->set_has_nonstatic_fields(has_nonstatic_fields);
3226 this_klass->set_has_nonstatic_fields();
3227 }
3228 this_klass->set_static_oop_field_size(fac.static_oop_count); 3224 this_klass->set_static_oop_field_size(fac.static_oop_count);
3229 cp->set_pool_holder(this_klass()); 3225 cp->set_pool_holder(this_klass());
3230 this_klass->set_constants(cp()); 3226 this_klass->set_constants(cp());
3231 this_klass->set_local_interfaces(local_interfaces()); 3227 this_klass->set_local_interfaces(local_interfaces());
3232 this_klass->set_fields(fields()); 3228 this_klass->set_fields(fields());