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

Issue 13786002: [WIP] New GC related APIs. (Closed)

Created:
7 years, 8 months ago by marja
Modified:
7 years, 8 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

New GC related APIs. When using these APIs, the embedder doesn't need to copy Persistent handles around. BUG=NONE Committed: http://code.google.com/p/v8/source/detail?r=14215

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed #

Total comments: 7

Patch Set 3 : code review (mstarzinger, svenpanne) #

Patch Set 4 : fix #

Patch Set 5 : fix #

Total comments: 6

Patch Set 6 : updated tests #

Patch Set 7 : code review (svenpanne) #

Total comments: 30

Patch Set 8 : Rebased + code review #

Patch Set 9 : moar #

Patch Set 10 : fixx #

Patch Set 11 : use old testing machinery #

Unified diffs Side-by-side diffs Delta from patch set Stats (+633 lines, -81 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 8 9 3 chunks +32 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M src/global-handles.h View 1 2 3 4 5 6 7 5 chunks +44 lines, -26 lines 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 6 7 4 chunks +85 lines, -40 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 2 3 4 5 6 7 1 chunk +36 lines, -10 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +299 lines, -3 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 2 3 4 5 6 7 4 chunks +120 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Sven Panne
LGTM with a nit https://codereview.chromium.org/13786002/diff/1/src/global-handles.h File src/global-handles.h (right): https://codereview.chromium.org/13786002/diff/1/src/global-handles.h#newcode48 src/global-handles.h:48: public: No need for "public" ...
7 years, 8 months ago (2013-04-09 11:12:45 UTC) #1
Michael Starzinger
This is heading into the right direction. I have a few comments though. I held ...
7 years, 8 months ago (2013-04-09 14:18:40 UTC) #2
marja
Thanks for comments, uploaded a new version. https://codereview.chromium.org/13786002/diff/4001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13786002/diff/4001/include/v8.h#newcode3455 include/v8.h:3455: void* id); ...
7 years, 8 months ago (2013-04-09 16:46:51 UTC) #3
Sven Panne
https://codereview.chromium.org/13786002/diff/4001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13786002/diff/4001/include/v8.h#newcode3455 include/v8.h:3455: void* id); On 2013/04/09 16:46:51, marja wrote: > On ...
7 years, 8 months ago (2013-04-10 08:31:46 UTC) #4
Sven Panne
https://codereview.chromium.org/13786002/diff/11001/src/global-handles.h File src/global-handles.h (right): https://codereview.chromium.org/13786002/diff/11001/src/global-handles.h#newcode69 src/global-handles.h:69: ~GroupRetainedObjectInfo(); Kill me! :-)
7 years, 8 months ago (2013-04-10 08:37:49 UTC) #5
Sven Panne
https://codereview.chromium.org/13786002/diff/11001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/13786002/diff/11001/src/api.cc#newcode5789 src/api.cc:5789: if (IsDeadCheck(isolate, "v8::V8::SetObjectGroupId()")) return; Remove the ASSERT and the ...
7 years, 8 months ago (2013-04-10 08:45:22 UTC) #6
marja
Thanks for having a look. All done + added the UniqueId class. https://codereview.chromium.org/13786002/diff/11001/src/api.cc File src/api.cc ...
7 years, 8 months ago (2013-04-10 09:31:07 UTC) #7
Michael Starzinger
LGTM with a final round of nits. https://codereview.chromium.org/13786002/diff/19001/src/global-handles.cc File src/global-handles.cc (right): https://codereview.chromium.org/13786002/diff/19001/src/global-handles.cc#newcode579 src/global-handles.cc:579: object_groups_.Sort(); Isn't ...
7 years, 8 months ago (2013-04-10 10:54:16 UTC) #8
Sven Panne
Almost there from my side... :-) https://codereview.chromium.org/13786002/diff/19001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13786002/diff/19001/include/v8.h#newcode148 include/v8.h:148: UniqueId() Do we ...
7 years, 8 months ago (2013-04-10 10:58:52 UTC) #9
marja
Thanks for comments again! https://codereview.chromium.org/13786002/diff/19001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13786002/diff/19001/include/v8.h#newcode148 include/v8.h:148: UniqueId() On 2013/04/10 10:58:52, Sven ...
7 years, 8 months ago (2013-04-10 13:14:50 UTC) #10
Michael Starzinger
7 years, 8 months ago (2013-04-10 14:53:18 UTC) #11
Message was sent while issue was closed.
Committed patchset #11 manually as r14215 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698