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

Issue 2206773003: [api] Clean up scopes and precheck instantiations cache (Closed)

Created:
4 years, 4 months ago by Camillo Bruni
Modified:
4 years, 4 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[api] Clean up scopes and precheck instantiations cache Make sure all the scopes used in api-natives.cc have inlineable constructors and destructors. Additionally directly precheck the instantiations cache before trying to enter the InvokeScope which sets the save_context. BUG=chromium:630217 Committed: https://crrev.com/a2496b942cad524f0f3144b107936eaa9a7c9fd5 Cr-Commit-Position: refs/heads/master@{#38346}

Patch Set 1 #

Total comments: 2

Patch Set 2 : removing full namespace declaration #

Patch Set 3 : fixing omitted serial_number check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -48 lines) Patch
M src/api-natives.cc View 1 2 7 chunks +57 lines, -28 lines 0 comments Download
M src/isolate.h View 2 chunks +4 lines, -2 lines 0 comments Download
M src/isolate.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M src/isolate-inl.h View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Camillo Bruni
PTAL
4 years, 4 months ago (2016-08-03 09:09:25 UTC) #2
Yang
lgtm. with comments. https://codereview.chromium.org/2206773003/diff/1/src/api-natives.cc File src/api-natives.cc (right): https://codereview.chromium.org/2206773003/diff/1/src/api-natives.cc#newcode518 src/api-natives.cc:518: return ::v8::internal::InstantiateFunctionWithInvokeScope(isolate, info); do we really ...
4 years, 4 months ago (2016-08-04 11:39:28 UTC) #4
Camillo Bruni
https://codereview.chromium.org/2206773003/diff/1/src/api-natives.cc File src/api-natives.cc (right): https://codereview.chromium.org/2206773003/diff/1/src/api-natives.cc#newcode518 src/api-natives.cc:518: return ::v8::internal::InstantiateFunctionWithInvokeScope(isolate, info); On 2016/08/04 at 11:39:28, Yang wrote: ...
4 years, 4 months ago (2016-08-04 12:15:16 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/2206773003/20001
4 years, 4 months ago (2016-08-04 15:56:06 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/1728) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 4 months ago (2016-08-04 16:10:40 UTC) #11
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/2206773003/40001
4 years, 4 months ago (2016-08-04 16:17:29 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-04 16:39:56 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a2496b942cad524f0f3144b107936eaa9a7c9fd5 Cr-Commit-Position: refs/heads/master@{#38346}
4 years, 4 months ago (2016-08-04 16:43:39 UTC) #17
Michael Achenbach
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2216903003/ by machenbach@chromium.org. ...
4 years, 4 months ago (2016-08-05 06:53:41 UTC) #18
Camillo Bruni
4 years, 3 months ago (2016-09-23 12:22:51 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2366903003/ by cbruni@chromium.org.

The reason for reverting is: Regresses API see go/v8-startup-api.

Powered by Google App Engine
This is Rietveld 408576698