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

Issue 18996004: HeapProfiler: check that heap snapshot has no unretained entries except root. (Closed)

Created:
7 years, 5 months ago by loislo
Modified:
7 years, 5 months ago
Reviewers:
mvstanton, yurys
CC:
v8-dev, alph
Visibility:
Public.

Description

HeapProfiler: check that heap snapshot has no unretained entries except root. TEST=AllocationSitesAreVisible BUG= R=mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15591

Patch Set 1 #

Patch Set 2 : ValidateSnapshot call added everywhere #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -0 lines) Patch
M test/cctest/test-heap-profiler.cc View 1 41 chunks +81 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
loislo
7 years, 5 months ago (2013-07-10 11:54:42 UTC) #1
mvstanton
This is great, thanks Ilya. lgtm. --Michael
7 years, 5 months ago (2013-07-10 12:10:49 UTC) #2
loislo
Committed patchset #2 manually as r15591 (presubmit successful).
7 years, 5 months ago (2013-07-10 12:40:49 UTC) #3
loislo
7 years, 5 months ago (2013-07-10 12:43:03 UTC) #4
yurys
I'm wondering if there was some problem that prompted adding this test?
7 years, 5 months ago (2013-07-10 16:27:48 UTC) #5
loislo
On 2013/07/10 16:27:48, Yury Semikhatsky wrote: > I'm wondering if there was some problem that ...
7 years, 5 months ago (2013-07-10 17:13:06 UTC) #6
yurys
7 years, 5 months ago (2013-07-11 16:53:24 UTC) #7
Message was sent while issue was closed.
On 2013/07/10 17:13:06, loislo wrote:
> On 2013/07/10 16:27:48, Yury Semikhatsky wrote:
> > I'm wondering if there was some problem that prompted adding this test?
> 
> This check is a downstream version of our expectation about heap-snapshot
> structure.
> 
> 5 days ago danno landed a patch
> https://code.google.com/p/v8/source/detail?r=15512
> And in the combination with today's patch
> https://chromiumcodereview.appspot.com/18751003/ we got ~20 arrays in the heap
> snapshot with no retainers.
> As a result our blink tests for heap profiler became red.
> Actually they were timing out and it was very hard to understand the reason of
> that.

Thanks for the clarification! Next time please include such information into the
CL description or into a bug.

Powered by Google App Engine
This is Rietveld 408576698