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

Issue 10007009: External references should not affect dominance relation. (Closed)

Created:
8 years, 8 months ago by alexeif
Modified:
8 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

External references should not affect dominance relation. Committed: https://code.google.com/p/v8/source/detail?r=11247

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -56 lines) Patch
M src/api.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/profile-generator.h View 4 chunks +7 lines, -4 lines 0 comments Download
M src/profile-generator.cc View 1 8 chunks +55 lines, -21 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 14 chunks +22 lines, -30 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
alexeif
Misha, could you please take a look.
8 years, 8 months ago (2012-04-05 16:23:16 UTC) #1
mnaganov (inactive)
Please add more explanations of the change to the commit description. https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): ...
8 years, 8 months ago (2012-04-05 22:00:13 UTC) #2
alexeif
PTAL https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.cc#newcode2158 src/profile-generator.cc:2158: Object* value = target->IsJSGlobalPropertyCell() On 2012/04/05 22:00:13, Mikhail ...
8 years, 8 months ago (2012-04-06 10:04:36 UTC) #3
alexeif
https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.h File src/profile-generator.h (right): https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.h#newcode1102 src/profile-generator.h:1102: void FillPostorderIndexes(Vector<HeapEntry*>* entries); On 2012/04/06 10:04:36, alexeif wrote: > ...
8 years, 8 months ago (2012-04-06 10:07:11 UTC) #4
mnaganov (inactive)
8 years, 8 months ago (2012-04-06 14:16:01 UTC) #5
LGTM

Please add more details to the description of the change before committing.

https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator.h
File src/profile-generator.h (right):

https://chromiumcodereview.appspot.com/10007009/diff/1/src/profile-generator....
src/profile-generator.h:602: unsigned reachable_from_window_: 1;
On 2012/04/06 10:04:36, alexeif wrote:
> On 2012/04/05 22:00:13, Mikhail Naganov (Chromium) wrote:
> > Do we really need an additional field? It seems that 'painted_' bit is only
> used
> > in FillPostorderIndexes. We can first fill the indexes, and then mark
> reachable
> > objects, reusing the same bit. 
> They both are in use in FillPostorderIndexes.

Sorry, didn't realize that. It is queried in IsRetainingEdge.

Powered by Google App Engine
This is Rietveld 408576698