equal
deleted
inserted
replaced
5519 |
5519 |
5520 fill_instance_klass(ik, changed_by_loadhook, CHECK_NULL); |
5520 fill_instance_klass(ik, changed_by_loadhook, CHECK_NULL); |
5521 |
5521 |
5522 assert(_klass == ik, "invariant"); |
5522 assert(_klass == ik, "invariant"); |
5523 |
5523 |
|
5524 |
|
5525 if (ik->should_store_fingerprint()) { |
|
5526 ik->store_fingerprint(_stream->compute_fingerprint()); |
|
5527 } |
|
5528 |
5524 ik->set_has_passed_fingerprint_check(false); |
5529 ik->set_has_passed_fingerprint_check(false); |
5525 if (UseAOT && ik->supers_have_passed_fingerprint_checks()) { |
5530 if (UseAOT && ik->supers_have_passed_fingerprint_checks()) { |
5526 uint64_t aot_fp = AOTLoader::get_saved_fingerprint(ik); |
5531 uint64_t aot_fp = AOTLoader::get_saved_fingerprint(ik); |
5527 if (aot_fp != 0 && aot_fp == _stream->compute_fingerprint()) { |
5532 uint64_t fp = ik->has_stored_fingerprint() ? ik->get_stored_fingerprint() : _stream->compute_fingerprint(); |
|
5533 if (aot_fp != 0 && aot_fp == fp) { |
5528 // This class matches with a class saved in an AOT library |
5534 // This class matches with a class saved in an AOT library |
5529 ik->set_has_passed_fingerprint_check(true); |
5535 ik->set_has_passed_fingerprint_check(true); |
5530 } else { |
5536 } else { |
5531 ResourceMark rm; |
5537 ResourceMark rm; |
5532 log_info(class, fingerprint)("%s : expected = " PTR64_FORMAT " actual = " PTR64_FORMAT, |
5538 log_info(class, fingerprint)("%s : expected = " PTR64_FORMAT " actual = " PTR64_FORMAT, |