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

Issue 2636903002: Assert that context creation doesn't throw (Closed)

Created:
3 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 11 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Assert that context creation doesn't throw Instead, it is supposed to just return an empty context if it failed. Also don't invoke interceptors (we don't for the parts that deserialize from the snapshot anyways). BUG=v8:5830 R=yangguo@chromium.org Review-Url: https://codereview.chromium.org/2636903002 Cr-Commit-Position: refs/heads/master@{#42404} Committed: https://chromium.googlesource.com/v8/v8/+/0389df514d48c6394f606bf4e5b9b0b0cb134d1b

Patch Set 1 #

Total comments: 6

Patch Set 2 : updates #

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -71 lines) Patch
M src/api.cc View 1 5 chunks +30 lines, -3 lines 0 comments Download
M src/assert-scope.h View 3 chunks +18 lines, -2 lines 0 comments Download
M src/assert-scope.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M src/compiler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 3 chunks +11 lines, -6 lines 0 comments Download
M src/execution.h View 1 2 2 chunks +12 lines, -7 lines 0 comments Download
M src/execution.cc View 1 2 9 chunks +44 lines, -26 lines 0 comments Download
M src/heap/heap.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 chunks +11 lines, -3 lines 0 comments Download
M src/isolate.cc View 1 2 5 chunks +17 lines, -12 lines 0 comments Download
M test/cctest/test-thread-termination.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/cctest/wasm/test-wasm-stack.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-wasm-trap-position.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
jochen (gone - plz use gerrit)
3 years, 11 months ago (2017-01-16 14:39:18 UTC) #1
Yang
https://codereview.chromium.org/2636903002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2636903002/diff/1/src/api.cc#newcode6211 src/api.cc:6211: ENTER_V8_FOR_NEW_CONTEXT(isolate); What about stack overflow, which trigger RangeError? https://codereview.chromium.org/2636903002/diff/1/src/api.cc#newcode6258 ...
3 years, 11 months ago (2017-01-17 09:54:23 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2636903002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2636903002/diff/1/src/api.cc#newcode6211 src/api.cc:6211: ENTER_V8_FOR_NEW_CONTEXT(isolate); On 2017/01/17 at 09:54:23, Yang wrote: > What ...
3 years, 11 months ago (2017-01-17 10:24:02 UTC) #8
jochen (gone - plz use gerrit)
ptal
3 years, 11 months ago (2017-01-17 11:30:14 UTC) #14
Yang
On 2017/01/17 11:30:14, jochen wrote: > ptal lgtm.
3 years, 11 months ago (2017-01-17 12:38:36 UTC) #17
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/2636903002/40001
3 years, 11 months ago (2017-01-17 12:59:26 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 13:01:09 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/0389df514d48c6394f606bf4e5b9b0b0cb1...

Powered by Google App Engine
This is Rietveld 408576698