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.
Bug: 279006963
Bug: 160737021
Test: art/test/testrunner/testrunner.py --target -t 1913-get-set-local-objects
Change-Id: I3df64ded15d126b84638b13fdbb80d9009423698
1 file changed