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

Issue 1260793003: Fix ProfileCode ticking and add unit test (Closed)

Created:
5 years, 4 months ago by Cutch
Modified:
5 years, 4 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix ProfileCode ticking and add unit test - Fix wrong loop indexer (two i variables...) use when ticking ProfileCode. - Factor out exclusive / inclusive tick decision into a helper function. - Adjust ProfileCode::Tick's semantics. - Add unit test verifying ProfileCode tick semantics. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/3d0b3b6b2b6d9b15ab7acb0246aa4426fbe4c7e6

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -11 lines) Patch
M runtime/vm/profiler_service.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/profiler_service.cc View 1 4 chunks +57 lines, -11 lines 0 comments Download
M runtime/vm/profiler_test.cc View 1 1 chunk +75 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (1 generated)
Cutch
5 years, 4 months ago (2015-07-27 23:51:18 UTC) #2
rmacnak
https://codereview.chromium.org/1260793003/diff/20001/runtime/vm/profiler_test.cc File runtime/vm/profiler_test.cc (right): https://codereview.chromium.org/1260793003/diff/20001/runtime/vm/profiler_test.cc#newcode377 runtime/vm/profiler_test.cc:377: walker.Reset(Profile::kExclusiveCode); Seems weird to create a walker for exclusive ...
5 years, 4 months ago (2015-07-28 00:11:44 UTC) #3
rmacnak
LGTM
5 years, 4 months ago (2015-07-28 16:44:59 UTC) #4
Cutch
5 years, 4 months ago (2015-07-28 17:21:42 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
3d0b3b6b2b6d9b15ab7acb0246aa4426fbe4c7e6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698