diff options
author | 2024-05-31 14:50:59 +0100 | |
---|---|---|
committer | 2024-06-03 10:09:53 +0000 | |
commit | 893f5b38425e2f66a2410cb4e9f2c6d1f30e76ee (patch) | |
tree | 9d8118fbc7bd8b85b7e43d76d670d21014fe9978 /compiler/optimizing/nodes_riscv64.h | |
parent | a688679f9ff2ecea224d9664499984aa984ea8ee (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/nodes_riscv64.h')
0 files changed, 0 insertions, 0 deletions