diff options
Diffstat (limited to 'runtime/art_method.cc')
-rw-r--r-- | runtime/art_method.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/art_method.cc b/runtime/art_method.cc index 8b748d2ebd..2afd8dfce5 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -753,9 +753,7 @@ void ArtMethod::CopyFrom(ArtMethod* src, PointerSize image_pointer_size) { SetDataPtrSize(nullptr, image_pointer_size); } // Clear hotness to let the JIT properly decide when to compile this method. - if (!IsAbstract()) { - ResetCounter(); - } + hotness_count_ = 0; } bool ArtMethod::IsImagePointerSize(PointerSize pointer_size) { |