diff options
Diffstat (limited to 'runtime/art_method.cc')
| -rw-r--r-- | runtime/art_method.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/art_method.cc b/runtime/art_method.cc index 5c48575672..8c0c7f56cc 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -766,6 +766,9 @@ void ArtMethod::SetIntrinsic(Intrinsics intrinsic) { } else { SetAccessFlags(new_value); } + + // Intrinsics are considered hot from the first call. + SetHotCounter(); } void ArtMethod::SetNotIntrinsic() { |