summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2024-05-31 14:50:59 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2024-06-03 10:09:53 +0000
commit893f5b38425e2f66a2410cb4e9f2c6d1f30e76ee (patch)
tree9d8118fbc7bd8b85b7e43d76d670d21014fe9978 /compiler/optimizing/ssa_builder.cc
parenta688679f9ff2ecea224d9664499984aa984ea8ee (diff)
Use compare_exchange instead of exchange when updating entrypoint.
Otherwise, two threads could compete updating the entrypoint with the same new JIT code (which happens in the case of JIT zygote), and we would erroneously try to add JIT zygote code to the zombie list. Test: test.py Bug: 343565030 Change-Id: I1c5cbab8d72df8c2b58b1f56def1d663e18a11f6
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
0 files changed, 0 insertions, 0 deletions