diff options
author | 2023-05-12 13:52:55 -0700 | |
---|---|---|
committer | 2023-05-15 19:49:48 +0000 | |
commit | 86309e745c1222101ec162401f8192f479fa15fe (patch) | |
tree | 35ef5998c7eb9fa7448a918af15c88ff46f5f8bc /compiler/optimizing/optimizing_compiler.cc | |
parent | 344f4e7e2c182c7b31bf176ec317ababb60e598e (diff) |
Ensure flip-function is completed before running synchronous checkpoint
Currently, there is a possibility that the target (for synchronous
checkpoint) thread is not flipped but the caller is. This could result
in accessing from-space objects or having a mix of 'from' and 'to' space
references on the target's stack. This is particularly an issue with
userfaultfd GC.
tm-mainline-prod NOTE: The change is flagged with gUseUserfaultfd to be
consistent with all the other changes in ThreadList::FlipThreadRoots.
Bug: 279006963
Bug: 160737021
Test: art/test/testrunner/testrunner.py --target -t 1913-get-set-local-objects
Change-Id: I3df64ded15d126b84638b13fdbb80d9009423698
(cherry picked from commit 47769d3bb5b221b18ebfec7eab6111945228e2fe)
Merged-In: I3df64ded15d126b84638b13fdbb80d9009423698
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions