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

Issue 174213002: Rework Sample class (Closed)

Created:
6 years, 10 months ago by Cutch
Modified:
6 years, 10 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -187 lines) Patch
M runtime/vm/profiler.h View 2 chunks +90 lines, -47 lines 1 comment Download
M runtime/vm/profiler.cc View 5 chunks +27 lines, -126 lines 0 comments Download
M runtime/vm/profiler_test.cc View 4 chunks +10 lines, -14 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Cutch
PTAL
6 years, 10 months ago (2014-02-20 19:14:50 UTC) #1
siva
lgtm https://codereview.chromium.org/174213002/diff/40001/runtime/vm/profiler.h File runtime/vm/profiler.h (right): https://codereview.chromium.org/174213002/diff/40001/runtime/vm/profiler.h#newcode113 runtime/vm/profiler.h:113: pcs_[i] = 0; I am wondering if we ...
6 years, 10 months ago (2014-02-20 21:07:38 UTC) #2
Cutch
Committed patchset #2 manually as r32870 (presubmit successful).
6 years, 10 months ago (2014-02-20 21:10:13 UTC) #3
Cutch
6 years, 10 months ago (2014-02-20 21:11:33 UTC) #4
Message was sent while issue was closed.
On 2014/02/20 21:07:38, siva wrote:
> lgtm
> 
> https://codereview.chromium.org/174213002/diff/40001/runtime/vm/profiler.h
> File runtime/vm/profiler.h (right):
> 
>
https://codereview.chromium.org/174213002/diff/40001/runtime/vm/profiler.h#ne...
> runtime/vm/profiler.h:113: pcs_[i] = 0;
> I am wondering if we should initialize it to kZapUninitializedWord
> instead of 0 to make the unused slots more apparent.

I'm relying on the zero to indicate the end of the stack trace. We could fill
with kZapUninitializedWord and then change the stack walking code to write a 0
in the final frame. I'll commit this for now.

Powered by Google App Engine
This is Rietveld 408576698