summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2022-06-17 11:00:09 +0000
committer Mythri Alle <mythria@google.com> 2022-06-17 14:53:48 +0000
commit1f10bc18546be8fa890406b4f59ed8f727e3dfac (patch)
tree52f4b600ee8f0957f9f4bd21284f5dcd602098b3 /runtime/interpreter/interpreter_common.cc
parenta0191bc6198fc5d2003087a65d949f44b5f2f90d (diff)
Don't enqueue new compilations when redefinition is in progress
When redefining a method we stop any new compilations by stopping the jit thread pool but we used to allow enqueuing new compilations. Since redefinition could obsolete some of these methods it is better we stop enqueuing any new compilations. This also prevents any unintended replacements of the method's declaring class when replacing the old classes. Bug: 234888286 Bug: 206029744 Test: art/test.py Change-Id: I1c6eea80f06519ea2cbdfbd8777f9d7de568fd62
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
0 files changed, 0 insertions, 0 deletions