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

Issue 985873002: api: introduce SealHandleScope (Closed)

Created:
5 years, 9 months ago by indutny
Modified:
5 years, 8 months ago
Reviewers:
Yang, danno
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

api: introduce SealHandleScope When debugging Handle leaks in io.js we found it very convenient to be able to Seal some specific (root in our case) scope to prevent Handle allocations in it, and easily find leakage. I wonder if this kind of API could be exposed? R=yangguo BUG=

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixes #

Patch Set 3 : set limit as internal SealHandleScope does #

Total comments: 3

Patch Set 4 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -4 lines) Patch
M include/v8.h View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M src/api.h View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M src/api.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M test/cctest/cctest.status View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
indutny
Yang, This is what we was talking about. Please let me know if the change ...
5 years, 9 months ago (2015-03-06 19:35:43 UTC) #1
indutny
Gosh, messed up reviewers, sorry!
5 years, 9 months ago (2015-03-06 19:36:47 UTC) #3
Yang
LGTM, but I would strongly advise for a test case that is marked as always ...
5 years, 9 months ago (2015-03-10 12:52:33 UTC) #4
indutny
Sure, will do it in a bit.
5 years, 9 months ago (2015-03-11 18:43:03 UTC) #5
indutny
And thanks a lot! :)
5 years, 9 months ago (2015-03-11 18:43:14 UTC) #6
indutny
Yang, Updated the CL. Please note that I have changed DCHECK in handles-inl.h to CHECK, ...
5 years, 9 months ago (2015-03-11 22:04:53 UTC) #7
Yang
On 2015/03/11 22:04:53, indutny wrote: > Yang, > > Updated the CL. Please note that ...
5 years, 9 months ago (2015-03-12 04:48:43 UTC) #8
indutny
Sure, PTAL. Sorry, it took a bit of effort to figure out why it was ...
5 years, 9 months ago (2015-03-12 21:07:17 UTC) #9
Yang
LGTM with comments. https://codereview.chromium.org/985873002/diff/40001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/985873002/diff/40001/src/api.cc#newcode701 src/api.cc:701: "Entering the V8 API without proper ...
5 years, 9 months ago (2015-03-13 07:18:20 UTC) #10
indutny
Yang, sorry for delay. Updated.
5 years, 9 months ago (2015-03-16 04:08:13 UTC) #11
Yang
On 2015/03/16 04:08:13, indutny wrote: > Yang, sorry for delay. Updated. LGTM.
5 years, 9 months ago (2015-03-16 07:25:43 UTC) #12
Yang
On 2015/03/16 07:25:43, Yang wrote: > On 2015/03/16 04:08:13, indutny wrote: > > Yang, sorry ...
5 years, 8 months ago (2015-04-10 20:47:11 UTC) #13
indutny
Haha, really? Didn't know about it! Thank you!
5 years, 8 months ago (2015-04-10 21:14:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985873002/60001
5 years, 8 months ago (2015-04-10 21:15:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/1909)
5 years, 8 months ago (2015-04-10 21:19:40 UTC) #18
indutny
Yang, was it wrong email?
5 years, 8 months ago (2015-04-10 21:49:59 UTC) #19
indutny
Opened https://codereview.chromium.org/1079713002/, just in case.
5 years, 8 months ago (2015-04-10 21:58:09 UTC) #20
Yang
5 years, 8 months ago (2015-04-10 21:59:43 UTC) #21
On 2015/04/10 21:49:59, indutny wrote:
> Yang, was it wrong email?

Yeah. It seems like you haven't signed the CLA with this email. But you did with
fedor@indutny.com.

Powered by Google App Engine
This is Rietveld 408576698