Description[simulator] Make reference redirection thread-safe.
In the simulators, the ExternalReference constructor rewrites external
addresses, which involves mutating a linked list rooted in the isolate.
We already construct external references concurrently (at least in Turbofan),
but the list mutation was not thread-safe (though no crashes are known). This
CL adds the necessary locking.
BUG=v8:6048
Review-Url: https://codereview.chromium.org/2852983002
Cr-Commit-Position: refs/heads/master@{#45014}
Committed: https://chromium.googlesource.com/v8/v8/+/34e7945647f6d2607a3d5446f483240b128e86c4
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|