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

Issue 1689863002: Introduce BeforeCallEnteredCallback. (Closed)

Created:
4 years, 10 months ago by dgozman
Modified:
4 years, 10 months ago
CC:
Paweł Hajdan Jr., 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

Introduce BeforeCallEnteredCallback. This new callback is similar to CallCompletedCallback, but is executed before the call has been made. Added Isolate* parameter to CallCompletedCallback, marking previous one as deprecated. BUG=chromium:585949 LOG=Y Committed: https://crrev.com/0e9ea48c469334b284f3b8d43c432696840206f4 Cr-Commit-Position: refs/heads/master@{#34167}

Patch Set 1 #

Total comments: 5

Patch Set 2 : fixed review comments #

Total comments: 2

Patch Set 3 : V8_DEPRECATE_SOON #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -10 lines) Patch
M include/v8.h View 1 2 3 chunks +24 lines, -3 lines 0 comments Download
M src/api.cc View 1 3 chunks +28 lines, -0 lines 0 comments Download
M src/isolate.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 chunks +28 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 chunks +36 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
dgozman
Could you please take a look? This is a first patch for V8RecursionScope -> v8::MicrotasksScope ...
4 years, 10 months ago (2016-02-11 01:31:22 UTC) #3
dgozman
https://codereview.chromium.org/1689863002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1689863002/diff/1/src/api.cc#newcode167 src/api.cc:167: if (do_callback_) isolate_->FireBeforeCallEnteredCallback(); I think I'd move this call ...
4 years, 10 months ago (2016-02-11 02:08:49 UTC) #4
adamk
I'd like to wait for Jochen to return and take a look at the overall ...
4 years, 10 months ago (2016-02-11 20:04:36 UTC) #5
jochen (gone - plz use gerrit)
Adam, did you get to see the overall plan? https://codereview.chromium.org/1689863002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/1/include/v8.h#newcode5013 include/v8.h:5013: ...
4 years, 10 months ago (2016-02-17 12:58:48 UTC) #6
dgozman
The overall plan is described in the bug: https://code.google.com/p/chromium/issues/detail?id=585949 https://codereview.chromium.org/1689863002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/1/include/v8.h#newcode5013 include/v8.h:5013: ...
4 years, 10 months ago (2016-02-17 16:51:12 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1689863002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/1/include/v8.h#newcode5014 include/v8.h:5014: typedef void (*CallCompletedCallback)(); can you add an isolate* parameter ...
4 years, 10 months ago (2016-02-18 13:48:38 UTC) #8
dgozman
https://codereview.chromium.org/1689863002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/1/include/v8.h#newcode5014 include/v8.h:5014: typedef void (*CallCompletedCallback)(); On 2016/02/18 13:48:38, jochen wrote: > ...
4 years, 10 months ago (2016-02-19 01:59:42 UTC) #10
jochen (gone - plz use gerrit)
lgtm with comment https://codereview.chromium.org/1689863002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/20001/include/v8.h#newcode5838 include/v8.h:5838: V8_DEPRECATED( you'll need V8_DEPRECATE_SOON - otherwise ...
4 years, 10 months ago (2016-02-19 14:44:57 UTC) #11
dgozman
https://codereview.chromium.org/1689863002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1689863002/diff/20001/include/v8.h#newcode5838 include/v8.h:5838: V8_DEPRECATED( On 2016/02/19 14:44:57, jochen wrote: > you'll need ...
4 years, 10 months ago (2016-02-19 16:56:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689863002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689863002/40001
4 years, 10 months ago (2016-02-19 16:56:11 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-19 18:48:17 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 18:48:53 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0e9ea48c469334b284f3b8d43c432696840206f4
Cr-Commit-Position: refs/heads/master@{#34167}

Powered by Google App Engine
This is Rietveld 408576698