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

Issue 6686053: Introduce one way dependencies into object grouping. (Closed)

Created:
9 years, 9 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Introduce one way dependencies into object grouping. Those are necessary to properly manage relationship between objects in cases when they don't form proper tree structure. Committed: http://code.google.com/p/v8/source/detail?r=7202

Patch Set 1 #

Patch Set 2 : Addressing Misha's concerns #

Patch Set 3 : Next round #

Patch Set 4 : Minor fixes #

Total comments: 2

Patch Set 5 : Another test #

Patch Set 6 : Renaming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -35 lines) Patch
M include/v8.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 1 chunk +12 lines, -1 line 0 comments Download
M src/global-handles.h View 1 2 3 4 5 3 chunks +33 lines, -7 lines 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 2 chunks +34 lines, -4 lines 0 comments Download
M src/mark-compact.h View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M src/mark-compact.cc View 1 2 5 chunks +37 lines, -9 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 2 chunks +184 lines, -6 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 2 3 4 5 4 chunks +42 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
antonm
Guys, may you have a look? I am esp. uneasy about all those testing utils ...
9 years, 9 months ago (2011-03-14 18:01:39 UTC) #1
mnaganov (inactive)
On 2011/03/14 18:01:39, antonm wrote: > Guys, > > may you have a look? > ...
9 years, 9 months ago (2011-03-14 18:33:07 UTC) #2
antonm
Sure, may you have another look? I am not introducing structures for handles' collection (length, ...
9 years, 9 months ago (2011-03-14 20:17:21 UTC) #3
mnaganov (inactive)
Yes, this makes more sense. I think, you can remove some duplication in code, if ...
9 years, 9 months ago (2011-03-14 21:45:12 UTC) #4
Mads Ager (chromium)
I haven't checked the details, but I'm OK with the overall approach of adding one ...
9 years, 9 months ago (2011-03-15 08:32:28 UTC) #5
antonm
In offline discussion Vitaly and Misha suggested to switch to the different API. Thanks a ...
9 years, 9 months ago (2011-03-15 18:25:46 UTC) #6
Vitaly Repeshko
LGTM with the comments addressed. -- Vitaly http://codereview.chromium.org/6686053/diff/12003/include/v8.h File include/v8.h (right): http://codereview.chromium.org/6686053/diff/12003/include/v8.h#newcode2727 include/v8.h:2727: static void ...
9 years, 9 months ago (2011-03-15 18:45:35 UTC) #7
antonm
9 years, 9 months ago (2011-03-15 19:33:12 UTC) #8
Thanks a lot for review, Vitaly.

I've added a test with a cycle.

Regarding the name.  I am not insisting on my name (although I think it's indeed
good enough).  I would only ask for something with a proper plural (I started
with AddImplicitReferences, but it's hard to make
GlobalHandles::ImplictReferenceses :).  Yes, set and all the stuff, but if
possible, I'd rather keep it parallel to object groups.

Mads, Misha, any ideas?

If not, ok, I'll switch back to AddImplicitReferences.

Powered by Google App Engine
This is Rietveld 408576698