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

Issue 264233005: Clean up stack guard interrupts. (Closed)

Created:
6 years, 7 months ago by Yang
Modified:
6 years, 6 months ago
Reviewers:
yurys, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -379 lines) Patch
M src/api.cc View 1 3 chunks +14 lines, -7 lines 0 comments Download
M src/arm/regexp-macro-assembler-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/regexp-macro-assembler-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/debug.h View 3 chunks +5 lines, -11 lines 0 comments Download
M src/debug.cc View 1 8 chunks +14 lines, -30 lines 0 comments Download
M src/execution.h View 5 chunks +37 lines, -49 lines 0 comments Download
M src/execution.cc View 5 chunks +57 lines, -262 lines 1 comment Download
M src/heap.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/incremental-marking.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/isolate.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/mips/regexp-macro-assembler-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M src/v8threads.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-debug.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Yang
please take a look.
6 years, 7 months ago (2014-05-06 12:47:53 UTC) #1
Jakob Kummerow
LGTM with nits. https://codereview.chromium.org/264233005/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/264233005/diff/1/src/api.cc#newcode6467 src/api.cc:6467: reinterpret_cast<i::Isolate*>( nit: I find this line ...
6 years, 7 months ago (2014-05-06 13:17:51 UTC) #2
Yang
On 2014/05/06 13:17:51, Jakob wrote: > LGTM with nits. > > https://codereview.chromium.org/264233005/diff/1/src/api.cc > File src/api.cc ...
6 years, 7 months ago (2014-05-06 13:32:10 UTC) #3
Yang
Committed patchset #2 manually as r21208 (presubmit successful).
6 years, 7 months ago (2014-05-09 09:13:28 UTC) #4
yurys
6 years, 6 months ago (2014-05-29 08:42:07 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/264233005/diff/20001/src/execution.cc
File src/execution.cc (right):

https://codereview.chromium.org/264233005/diff/20001/src/execution.cc#newcode735
src/execution.cc:735: ExecutionAccess access(isolate_);
Scope of this lock seems too coarse. Do we really need to hold the lock when
handling debug break? This causes a dead lock in blink when we try to terminate
worker which is running a debug loop on pause: v8::V8::TerminateExecution is
called on the main thread while ExecutionAccess lock is held on the worker
thread. Can we revert this part of the change and restore previous behavior
where the lock is only held while interrupt flags are accessed?

Powered by Google App Engine
This is Rietveld 408576698