mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8265411: Avoid unnecessary Method::init_intrinsic_id calls
Reviewed-by: dholmes, minqi
This commit is contained in:
parent
a22ad03b25
commit
739769c8fc
5 changed files with 54 additions and 7 deletions
|
@ -5260,7 +5260,7 @@ static void check_methods_for_intrinsics(const InstanceKlass* ik,
|
|||
if (klass_id != vmSymbolID::NO_SID) {
|
||||
for (int j = 0; j < methods->length(); ++j) {
|
||||
Method* method = methods->at(j);
|
||||
method->init_intrinsic_id();
|
||||
method->init_intrinsic_id(klass_id);
|
||||
|
||||
if (CheckIntrinsics) {
|
||||
// Check if an intrinsic is defined for method 'method',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue