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

Issue 291123002: Ensure that interruptor callback registered through API is called outside of ExecutionAccess lock. (Closed)

Created:
6 years, 7 months ago by Vyacheslav Egorov (Google)
Modified:
6 years, 7 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Ensure that interruptor callback registered through API is called outside of ExecutionAccess lock. Such a coarse locking can cause a dead-lock when another thread is attempting to clear an interrupt while we are waiting in the interrupt callback. Add test that verifies this API invariant. BUG=chromium:374978 LOG=N R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21376

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -45 lines) Patch
M src/execution.cc View 1 chunk +34 lines, -27 lines 0 comments Download
M src/isolate.cc View 1 chunk +10 lines, -4 lines 0 comments Download
M test/cctest/test-api.cc View 10 chunks +88 lines, -14 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
Please take a look.
6 years, 7 months ago (2014-05-20 07:38:25 UTC) #1
Yang
On 2014/05/20 07:38:25, Vyacheslav Egorov (Google) wrote: > Please take a look. lgtm.
6 years, 7 months ago (2014-05-20 07:41:04 UTC) #2
Vyacheslav Egorov (Google)
6 years, 7 months ago (2014-05-20 08:24:59 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r21376 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698