Skip to content

Commit

Permalink
fixed logic bug for re-deoptimize condition in RestoreBackup (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
hluwa authored Nov 22, 2023
1 parent 7c732a7 commit 439f38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsplant/src/main/jni/art/runtime/class_linker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ClassLinker {
auto new_trampoline = art_method->GetEntryPoint();
art_method->SetEntryPoint(old_trampoline);
if (IsDeoptimized(art_method)) {
if (new_trampoline != art_quick_to_interpreter_bridge ||
if (new_trampoline != art_quick_to_interpreter_bridge &&
new_trampoline != art_quick_generic_jni_trampoline) {
LOGV("re-deoptimize for %p", art_method);
SetEntryPointsToInterpreter(art_method);
Expand Down

0 comments on commit 439f38f

Please sign in to comment.