commit | 2a0ad757164ecaae09b07a0343b7e10df1552b93 | [log] [tgz] |
---|---|---|
author | Mythri Alle <mythria@google.com> | Thu Dec 02 17:45:50 2021 +0000 |
committer | Mythri Alle <mythria@google.com> | Fri Dec 03 10:04:59 2021 +0000 |
tree | 8f12e455b56668ea43efa4e516e0a2817defa2aa | |
parent | 9c970b906a0971ea286a2df349c4d157fc349639 [diff] |
Don't call MethodExitEvent if we require a deopt in MethodExitHook With the change to method entry / exit hooks to be directly called from JITed code we deoptimize from artMethodExitHook. Since we are still in the Jited code, interpreter re-executes the return instruction and calls any method exit events required. Hence, we shouldn't call MethodExitEvent if we require a deoptimization. Test: art/test.py Bug: 208587492 Change-Id: Iefe29cb3b7cb8db394b3eb9ca100af1462687089