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

Issue 11085015: Allow collection of DOM objects in minor GC cycles. (Closed)

Created:
8 years, 2 months ago by haraken
Modified:
8 years, 1 month ago
CC:
abarth-chromium, danno, Michael Starzinger, Vyacheslav Egorov (Chromium)
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Allow collection of DOM objects in minor GC cycles. A design document: https://docs.google.com/a/google.com/document/d/16DeHrzkm3cO9XCPT1aK3Y5qgUxXB3RFmueqQWYmN2rI/edit Performance & memory results: https://docs.google.com/a/google.com/document/d/1h0-EsHu7T0sSMuZm5eE0r1e8sCAzY3weLvsDUpOSngE/edit The WebKit side patch: https://bugs.webkit.org/show_bug.cgi?id=98725 At present no one is using the V8 APIs this patch is going to add. After this patch is landed, the WebKit side patch will use it. BUG= Committed: https://code.google.com/p/v8/source/detail?r=12874

Patch Set 1 #

Patch Set 2 : Added object grouping to minor GC cycles (not yet for review) #

Patch Set 3 : Patch for review #

Patch Set 4 : Fixed styles #

Total comments: 1

Patch Set 5 : Resolved patch conflict #

Total comments: 9

Patch Set 6 : Comments addressed #

Total comments: 23

Patch Set 7 : All comments addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -11 lines) Patch
M include/v8.h View 1 2 3 4 5 6 4 chunks +20 lines, -1 line 0 comments Download
M src/api.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/global-handles.h View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 6 10 chunks +29 lines, -6 lines 1 comment Download
M src/heap.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 2 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
haraken
Would you review the patch?
8 years, 2 months ago (2012-10-24 17:12:53 UTC) #1
abarth-chromium
https://chromiumcodereview.appspot.com/11085015/diff/6001/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11085015/diff/6001/include/v8.h#newcode3510 include/v8.h:3510: >>>>>>> temp Looks like you have some conflict markers ...
8 years, 2 months ago (2012-10-24 17:35:00 UTC) #2
Michael Starzinger
I just looked at the API side of this change so far, not at the ...
8 years, 1 month ago (2012-10-26 14:16:47 UTC) #3
haraken
https://chromiumcodereview.appspot.com/11085015/diff/9001/include/v8.h File include/v8.h (right): https://chromiumcodereview.appspot.com/11085015/diff/9001/include/v8.h#newcode412 include/v8.h:412: */ On 2012/10/26 14:16:48, Michael Starzinger wrote: > Nit ...
8 years, 1 month ago (2012-10-30 08:51:17 UTC) #4
haraken
https://chromiumcodereview.appspot.com/11085015/diff/13001/src/heap.cc File src/heap.cc (right): https://chromiumcodereview.appspot.com/11085015/diff/13001/src/heap.cc#newcode1382 src/heap.cc:1382: bool Heap::IterateObjectGroups(ObjectVisitor* scavenge_visitor) { Note for review: The logic ...
8 years, 1 month ago (2012-11-05 06:55:22 UTC) #5
Michael Starzinger
This should be the final round of reviews, after that we should be able to ...
8 years, 1 month ago (2012-11-05 10:47:27 UTC) #6
haraken
All comments addressed. > I am still a little bit worried about the quadratic worst ...
8 years, 1 month ago (2012-11-05 12:42:07 UTC) #7
Michael Starzinger
LGTM. I'll land this soon.
8 years, 1 month ago (2012-11-05 13:24:27 UTC) #8
Michael Starzinger
8 years, 1 month ago (2012-11-06 17:33:16 UTC) #9
Slightly changed the title of this CL. Fixed a minor compilation failure.
Landed.

https://codereview.chromium.org/11085015/diff/20001/src/global-handles.cc
File src/global-handles.cc (right):

https://codereview.chromium.org/11085015/diff/20001/src/global-handles.cc#new...
src/global-handles.cc:166: bool clear_partially_dependent() {
partially_dependent_ = false; }
Had to change the return type of this method to void.

Powered by Google App Engine
This is Rietveld 408576698