Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classFileParser.cpp @ 879:494244ae0171
Merge
author | coleenp |
---|---|
date | Mon, 27 Jul 2009 17:23:52 -0400 |
parents | 6a93908f268f 75596850f863 |
children | b37c246bf7ce ad6585fd4087 |
comparison
equal
deleted
inserted
replaced
878:abe076e3636f | 879:494244ae0171 |
---|---|
3235 this_klass->set_methods_default_annotations(methods_default_annotations()); | 3235 this_klass->set_methods_default_annotations(methods_default_annotations()); |
3236 | 3236 |
3237 this_klass->set_minor_version(minor_version); | 3237 this_klass->set_minor_version(minor_version); |
3238 this_klass->set_major_version(major_version); | 3238 this_klass->set_major_version(major_version); |
3239 | 3239 |
3240 // Set up methodOop::intrinsic_id as soon as we know the names of methods. | |
3241 // (We used to do this lazily, but now we query it in Rewriter, | |
3242 // which is eagerly done for every method, so we might as well do it now, | |
3243 // when everything is fresh in memory.) | |
3244 if (methodOopDesc::klass_id_for_intrinsics(this_klass->as_klassOop()) != vmSymbols::NO_SID) { | |
3245 for (int j = 0; j < methods->length(); j++) { | |
3246 ((methodOop)methods->obj_at(j))->init_intrinsic_id(); | |
3247 } | |
3248 } | |
3249 | |
3240 if (cached_class_file_bytes != NULL) { | 3250 if (cached_class_file_bytes != NULL) { |
3241 // JVMTI: we have an instanceKlass now, tell it about the cached bytes | 3251 // JVMTI: we have an instanceKlass now, tell it about the cached bytes |
3242 this_klass->set_cached_class_file(cached_class_file_bytes, | 3252 this_klass->set_cached_class_file(cached_class_file_bytes, |
3243 cached_class_file_length); | 3253 cached_class_file_length); |
3244 } | 3254 } |