DescriptionFix a race condition in simulator that happens when flushing icache.
During GC multiple threads can request icache flush when evacuating
code space in parallel.
Simulator::FlushICache updates Isolate::simulator_icache hashmap,
which leads to a race.
This patch adds a lock for simulator_icache.
BUG=
Committed: https://crrev.com/2b1753ac943735faadb683b8156348e5fac613ab
Cr-Commit-Position: refs/heads/master@{#39386}
Patch Set 1 #
Total comments: 2
Patch Set 2 : add new line #
Messages
Total messages: 12 (6 generated)
|