Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2338793002: Fix a race condition in simulator that happens when flushing icache. (Closed)

Created:
4 years, 3 months ago by ulan
Modified:
4 years, 3 months ago
Reviewers:
Michael Achenbach
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M src/assembler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.h View 1 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
ulan
ptal
4 years, 3 months ago (2016-09-13 13:23:53 UTC) #2
Michael Achenbach
lgtm (rubber-stamp) https://codereview.chromium.org/2338793002/diff/1/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/2338793002/diff/1/src/isolate.h#newcode1445 src/isolate.h:1445: abort_on_uncaught_exception_callback_; nit: Maybe add an empty line?
4 years, 3 months ago (2016-09-13 13:40:56 UTC) #3
ulan
https://codereview.chromium.org/2338793002/diff/1/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/2338793002/diff/1/src/isolate.h#newcode1445 src/isolate.h:1445: abort_on_uncaught_exception_callback_; On 2016/09/13 13:40:56, machenbach (slow) wrote: > nit: ...
4 years, 3 months ago (2016-09-13 13:43:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2338793002/20001
4 years, 3 months ago (2016-09-13 13:44:04 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 14:11:51 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 14:12:23 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2b1753ac943735faadb683b8156348e5fac613ab
Cr-Commit-Position: refs/heads/master@{#39386}

Powered by Google App Engine
This is Rietveld 408576698