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

Issue 1274663004: Enable native stack walking for allocation profiling (Closed)

Created:
5 years, 4 months ago by Cutch
Modified:
5 years, 4 months ago
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

Enable native stack walking for allocation profiling - Use native stack walker for allocation profiling when --profile-vm is passed - Helpers for retrieving SP, FP, and PC registers - Refactor sampler code to share more code between allocation sampling / interrupt sampling - Export all symbols into the dynamic symbol table for run_vm_tests (already doing this for Dart executable) R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/a1798f7e456dc921e14329faa7ecccca939ef644

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -104 lines) Patch
M runtime/bin/bin.gypi View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/globals.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 6 chunks +202 lines, -103 lines 0 comments Download
M runtime/vm/tags.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
Cutch
5 years, 4 months ago (2015-08-05 17:11:20 UTC) #2
regis
https://codereview.chromium.org/1274663004/diff/1/runtime/vm/globals.h File runtime/vm/globals.h (right): https://codereview.chromium.org/1274663004/diff/1/runtime/vm/globals.h#newcode117 runtime/vm/globals.h:117: #define COPY_FP_REGISTER(fp) UNIMPLEMENTED(); Not tested, but you can try: ...
5 years, 4 months ago (2015-08-05 19:37:14 UTC) #4
Florian Schneider
https://codereview.chromium.org/1274663004/diff/40001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/1274663004/diff/40001/runtime/vm/profiler.cc#newcode987 runtime/vm/profiler.cc:987: COPY_SP_REGISTER(sp); We also have a GetStackPointer stub. Does Isolate::GetCurrentStackPointer() ...
5 years, 4 months ago (2015-08-06 10:15:28 UTC) #6
Cutch
PTAL
5 years, 4 months ago (2015-08-06 14:22:55 UTC) #7
regis
LGTM https://codereview.chromium.org/1274663004/diff/60001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/1274663004/diff/60001/runtime/vm/profiler.cc#newcode987 runtime/vm/profiler.cc:987: COPY_FP_REGISTER(fp); I suppose you tell gcc to always ...
5 years, 4 months ago (2015-08-06 16:55:17 UTC) #8
Cutch
On 2015/08/06 16:55:17, regis wrote: > LGTM > > https://codereview.chromium.org/1274663004/diff/60001/runtime/vm/profiler.cc > File runtime/vm/profiler.cc (right): > ...
5 years, 4 months ago (2015-08-06 20:26:19 UTC) #9
Cutch
5 years, 4 months ago (2015-08-06 20:32:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
a1798f7e456dc921e14329faa7ecccca939ef644 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698