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

Issue 15691017: Make assertion scopes thread safe. (Closed)

Created:
7 years, 6 months ago by Yang
Modified:
7 years, 6 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Make assertion scopes thread safe. R=svenpanne@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=14919

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+657 lines, -672 lines) Patch
M include/v8.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/accessors.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/api.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/api.cc View 1 5 chunks +8 lines, -9 lines 1 comment Download
M src/arm/assembler-arm.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
A src/assert-scope.h View 1 1 chunk +149 lines, -0 lines 0 comments Download
M src/builtins.cc View 1 11 chunks +12 lines, -12 lines 0 comments Download
M src/checks.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/compiler.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M src/debug.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/deoptimizer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 10 chunks +18 lines, -9 lines 0 comments Download
M src/disassembler.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/elements.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/execution.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/factory.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/frames.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/handles.h View 1 3 chunks +9 lines, -30 lines 0 comments Download
M src/handles.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/handles-inl.h View 1 4 chunks +27 lines, -51 lines 0 comments Download
M src/heap.h View 6 chunks +3 lines, -45 lines 0 comments Download
M src/heap.cc View 1 2 14 chunks +12 lines, -14 lines 0 comments Download
M src/heap-inl.h View 3 chunks +1 line, -63 lines 0 comments Download
M src/heap-snapshot-generator.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/hydrogen.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/hydrogen-gvn.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 3 chunks +3 lines, -4 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/ic.cc View 1 10 chunks +10 lines, -10 lines 0 comments Download
M src/interpreter-irregexp.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 3 chunks +1 line, -7 lines 0 comments Download
M src/isolate.cc View 1 6 chunks +8 lines, -33 lines 0 comments Download
M src/json-parser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/json-stringifier.h View 5 chunks +5 lines, -5 lines 0 comments Download
M src/jsregexp.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/lithium.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/liveedit.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M src/log.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/log-utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/mark-compact.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/marking-thread.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips/assembler-mips.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/mips/deoptimizer-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/objects.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/objects.cc View 1 23 chunks +24 lines, -24 lines 0 comments Download
M src/objects-inl.h View 5 chunks +6 lines, -5 lines 0 comments Download
M src/optimizing-compiler-thread.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 205 chunks +214 lines, -214 lines 0 comments Download
M src/safepoint-table.h View 1 chunk +1 line, -1 line 0 comments Download
M src/serialize.h View 2 chunks +3 lines, -4 lines 0 comments Download
M src/sweeper-thread.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/type-info.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/uri.h View 6 chunks +6 lines, -6 lines 0 comments Download
M src/v8.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/v8conversions.h View 1 chunk +1 line, -1 line 0 comments Download
M src/v8globals.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/x64/assembler-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/x64/deoptimizer-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 9 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/cctest.status View 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-strings.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Yang
7 years, 6 months ago (2013-05-31 11:23:10 UTC) #1
Sven Panne
https://codereview.chromium.org/15691017/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15691017/diff/1/src/api.cc#newcode6274 src/api.cc:6274: v8::AssertNoGCScope::AssertNoGCScope(v8::Isolate* isolate) This class is identical to DisallowHeapAllocation (modulo ...
7 years, 6 months ago (2013-06-03 09:58:23 UTC) #2
Yang
Please take another look. https://codereview.chromium.org/15691017/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15691017/diff/1/src/api.cc#newcode6274 src/api.cc:6274: v8::AssertNoGCScope::AssertNoGCScope(v8::Isolate* isolate) On 2013/06/03 09:58:23, ...
7 years, 6 months ago (2013-06-03 13:37:15 UTC) #3
Sven Panne
LGTM with a nit. https://codereview.chromium.org/15691017/diff/11001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/15691017/diff/11001/src/api.cc#newcode6280 src/api.cc:6280: reinterpret_cast<i::DisallowHeapAllocation*>(disallow_heap_allocation_); I think this has ...
7 years, 6 months ago (2013-06-03 14:11:46 UTC) #4
Yang
7 years, 6 months ago (2013-06-03 15:33:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r14919 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698