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

Issue 227433004: Add runtime and native entry tags (Closed)

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

Description

Add runtime and native entry tags - Split runtime and native entry tags. - Set runtime / native entry address as vm tag in stubs. - Add reverse native entry resolver (pc to name) to public API (breaking change). - Hookup reverse resolver for standalone VM (io + bootstrap + builtin natives). - Runtime entries are registered with tags. - Profiler queries for tag names via the reverse native entry resolver. - Profiler outputs named entry tags as children under parent tag (runtime or native). R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=34941

Patch Set 1 #

Patch Set 2 : #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -64 lines) Patch
M runtime/bin/builtin.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/builtin.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/builtin_gen_snapshot.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/bin/builtin_natives.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/bin/builtin_nolib.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/io_natives.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/bin/test_extension.c View 1 chunk +1 line, -1 line 0 comments Download
M runtime/include/dart_api.h View 1 2 2 chunks +20 lines, -1 line 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 9 chunks +15 lines, -12 lines 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/native_entry.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/native_entry.cc View 1 2 2 chunks +32 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 8 chunks +87 lines, -16 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/runtime_entry.h View 1 2 3 4 5 3 chunks +10 lines, -1 line 0 comments Download
M runtime/vm/stack_frame.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 4 5 3 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 3 4 3 chunks +3 lines, -5 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 3 4 5 3 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M runtime/vm/tags.h View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/tags.cc View 1 2 3 4 5 3 chunks +60 lines, -0 lines 0 comments Download
M runtime/vm/unit_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M samples/sample_extension/sample_extension.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Cutch
6 years, 8 months ago (2014-04-07 14:38:04 UTC) #1
siva
https://codereview.chromium.org/227433004/diff/10001/runtime/bin/builtin.h File runtime/bin/builtin.h (right): https://codereview.chromium.org/227433004/diff/10001/runtime/bin/builtin.h#newcode60 runtime/bin/builtin.h:60: static const char* NativeReverseLookup(Dart_NativeFunction nf); Instead of NativeReverseLookup I ...
6 years, 8 months ago (2014-04-08 16:27:54 UTC) #2
Cutch
https://codereview.chromium.org/227433004/diff/10001/runtime/bin/builtin.h File runtime/bin/builtin.h (right): https://codereview.chromium.org/227433004/diff/10001/runtime/bin/builtin.h#newcode60 runtime/bin/builtin.h:60: static const char* NativeReverseLookup(Dart_NativeFunction nf); On 2014/04/08 16:27:54, siva ...
6 years, 8 months ago (2014-04-09 17:40:59 UTC) #3
siva
https://codereview.chromium.org/227433004/diff/10001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/227433004/diff/10001/runtime/vm/profiler.cc#newcode1600 runtime/vm/profiler.cc:1600: } I agree we don't want to make Isolate::SetCurrent ...
6 years, 8 months ago (2014-04-09 23:28:11 UTC) #4
Cutch
https://codereview.chromium.org/227433004/diff/10001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/227433004/diff/10001/runtime/vm/profiler.cc#newcode1600 runtime/vm/profiler.cc:1600: } On 2014/04/09 23:28:11, siva wrote: > I agree ...
6 years, 8 months ago (2014-04-10 15:30:27 UTC) #5
siva
lgtm https://codereview.chromium.org/227433004/diff/70001/runtime/vm/stack_frame.h File runtime/vm/stack_frame.h (right): https://codereview.chromium.org/227433004/diff/70001/runtime/vm/stack_frame.h#newcode245 runtime/vm/stack_frame.h:245: explicit DartFrameIterator(uword fp, uword sp, uword pc) explicit ...
6 years, 8 months ago (2014-04-10 17:58:22 UTC) #6
Cutch
https://codereview.chromium.org/227433004/diff/70001/runtime/vm/stack_frame.h File runtime/vm/stack_frame.h (right): https://codereview.chromium.org/227433004/diff/70001/runtime/vm/stack_frame.h#newcode245 runtime/vm/stack_frame.h:245: explicit DartFrameIterator(uword fp, uword sp, uword pc) On 2014/04/10 ...
6 years, 8 months ago (2014-04-10 20:17:31 UTC) #7
Cutch
6 years, 8 months ago (2014-04-10 20:27:00 UTC) #8
Message was sent while issue was closed.
Committed patchset #7 manually as r34941 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698