equal
deleted
inserted
replaced
496 } else if (_f1 == NULL || |
496 } else if (_f1 == NULL || |
497 (NOT_PRODUCT(_f1->is_valid() &&) !_f1->is_method())) { |
497 (NOT_PRODUCT(_f1->is_valid() &&) !_f1->is_method())) { |
498 // _f1 == NULL || !_f1->is_method() are OK here |
498 // _f1 == NULL || !_f1->is_method() are OK here |
499 return true; |
499 return true; |
500 } |
500 } |
501 // return false if _f1 refers to an old or an obsolete method |
501 // return false if _f1 refers to a non-deleted old or obsolete method |
502 return (NOT_PRODUCT(_f1->is_valid() &&) _f1->is_method() && |
502 return (NOT_PRODUCT(_f1->is_valid() &&) _f1->is_method() && |
503 !((Method*)_f1)->is_old() && !((Method*)_f1)->is_obsolete()); |
503 (f1_as_method()->is_deleted() || |
|
504 (!f1_as_method()->is_old() && !f1_as_method()->is_obsolete()))); |
504 } |
505 } |
505 |
506 |
506 bool ConstantPoolCacheEntry::is_interesting_method_entry(Klass* k) { |
507 bool ConstantPoolCacheEntry::is_interesting_method_entry(Klass* k) { |
507 if (!is_method_entry()) { |
508 if (!is_method_entry()) { |
508 // not a method entry so not interesting by default |
509 // not a method entry so not interesting by default |