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

Issue 11365131: Implement VisitHandlesInNewSpaceWithClassIds() (Closed)

Created:
8 years, 1 month ago by haraken
Modified:
7 years, 11 months ago
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Implement VisitHandlesInNewSpaceWithClassIds() BUG= TEST=test-api.cc::PersistentHandleInNewSpaceVisitor Committed: https://code.google.com/p/v8/source/detail?r=13496

Patch Set 1 #

Total comments: 1

Patch Set 2 : Applied reviwer's comment #

Total comments: 2

Patch Set 3 : Added an Isolate parameter #

Total comments: 6

Patch Set 4 : Fixed format #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -16 lines) Patch
M include/v8.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 2 chunks +33 lines, -16 lines 1 comment Download
M src/global-handles.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/global-handles.cc View 1 1 chunk +11 lines, -0 lines 1 comment Download
M test/cctest/test-api.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
haraken
Currently V8 binding keeps "a list of wrappers probably existing in the new space", which ...
8 years, 1 month ago (2012-11-07 15:24:38 UTC) #1
Michael Starzinger
First round of comments. My issues are mainly with the (long-lasting) promise the API provides ...
7 years, 11 months ago (2013-01-17 09:57:42 UTC) #2
haraken
Thanks for reviewing! I updated a patch with michael's comment. Sven: Could you take a ...
7 years, 11 months ago (2013-01-17 11:59:21 UTC) #3
Sven Panne
https://chromiumcodereview.appspot.com/11365131/diff/2002/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11365131/diff/2002/include/v8.h#newcode3495 include/v8.h:3495: static void VisitHandlesForPartialDependence( Let's add a mandatory Isolate parameter ...
7 years, 11 months ago (2013-01-18 07:50:27 UTC) #4
haraken
Thanks for reviewing! Updated the patch. https://chromiumcodereview.appspot.com/11365131/diff/2002/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11365131/diff/2002/include/v8.h#newcode3495 include/v8.h:3495: static void VisitHandlesForPartialDependence( ...
7 years, 11 months ago (2013-01-18 07:57:18 UTC) #5
Sven Panne
https://chromiumcodereview.appspot.com/11365131/diff/9001/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11365131/diff/9001/include/v8.h#newcode3495 include/v8.h:3495: static void VisitHandlesForPartialDependence(Isolate* isolate, Formatting nit: This should be ...
7 years, 11 months ago (2013-01-18 08:14:30 UTC) #6
haraken
Updated the patch. https://chromiumcodereview.appspot.com/11365131/diff/9001/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11365131/diff/9001/include/v8.h#newcode3495 include/v8.h:3495: static void VisitHandlesForPartialDependence(Isolate* isolate, On 2013/01/18 ...
7 years, 11 months ago (2013-01-18 08:18:46 UTC) #7
Michael Starzinger
7 years, 11 months ago (2013-01-24 15:06:56 UTC) #8
LGTM. Just one more comment that I'll address while landing. I'll land this.

https://chromiumcodereview.appspot.com/11365131/diff/18001/src/api.cc
File src/api.cc (right):

https://chromiumcodereview.appspot.com/11365131/diff/18001/src/api.cc#newcode...
src/api.cc:4503: : visitor_(visitor) {}
Indentation is off.

https://chromiumcodereview.appspot.com/11365131/diff/18001/src/global-handles.cc
File src/global-handles.cc (right):

https://chromiumcodereview.appspot.com/11365131/diff/18001/src/global-handles...
src/global-handles.cc:727: if (node->has_wrapper_class_id() &&
node->IsRetainer()) {
Flip the two operands of the conjunction, otherwise ASAN will complain that we
access an uninitialized class-id. We had this "bug" before.

Powered by Google App Engine
This is Rietveld 408576698