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

Issue 230863005: Initial UserTag and dart:profiler library (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 20

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+751 lines, -11 lines) Patch
A runtime/lib/profiler.cc View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A runtime/lib/profiler.dart View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A + runtime/lib/profiler_sources.gypi View 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/bit_vector.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/bootstrap.h View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 6 chunks +24 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 7 4 chunks +27 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 3 chunks +41 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 5 chunks +153 lines, -0 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 6 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/object_store.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/profiler.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 5 6 7 8 8 chunks +61 lines, -4 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 2 chunks +24 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/symbols.h View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/tags.h View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -1 line 0 comments Download
M runtime/vm/tags.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -0 lines 0 comments Download
M runtime/vm/vm.gypi View 6 chunks +88 lines, -0 lines 0 comments Download
M sdk/lib/_internal/libraries.dart View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A sdk/lib/profiler/profiler.dart View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
A + sdk/lib/profiler/profiler_sources.gypi View 1 chunk +1 line, -1 line 0 comments Download
A tests/lib/profiler/user_tags_test.dart View 1 2 3 4 5 6 7 1 chunk +63 lines, -0 lines 0 comments Download
M tests/standalone/issue14236_test.dart View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download

Messages

Total messages: 8 (0 generated)
Cutch
6 years, 8 months ago (2014-04-09 16:09:08 UTC) #1
srdjan
lgtm https://codereview.chromium.org/230863005/diff/20001/runtime/lib/profiler.cc File runtime/lib/profiler.cc (right): https://codereview.chromium.org/230863005/diff/20001/runtime/lib/profiler.cc#newcode34 runtime/lib/profiler.cc:34: GET_NON_NULL_NATIVE_ARGUMENT(UserTag, self, arguments->NativeArgAt(0)); Use UserTag::CheckedHandle where type is ...
6 years, 8 months ago (2014-04-09 17:08:18 UTC) #2
Cutch
https://codereview.chromium.org/230863005/diff/20001/runtime/lib/profiler.cc File runtime/lib/profiler.cc (right): https://codereview.chromium.org/230863005/diff/20001/runtime/lib/profiler.cc#newcode34 runtime/lib/profiler.cc:34: GET_NON_NULL_NATIVE_ARGUMENT(UserTag, self, arguments->NativeArgAt(0)); On 2014/04/09 17:08:18, srdjan wrote: > ...
6 years, 8 months ago (2014-04-09 20:28:53 UTC) #3
siva
https://codereview.chromium.org/230863005/diff/60001/runtime/lib/profiler.cc File runtime/lib/profiler.cc (right): https://codereview.chromium.org/230863005/diff/60001/runtime/lib/profiler.cc#newcode49 runtime/lib/profiler.cc:49: return object_store->current_tag(); Not sure why the current tag is ...
6 years, 8 months ago (2014-04-09 21:32:00 UTC) #4
Cutch
https://codereview.chromium.org/230863005/diff/60001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/230863005/diff/60001/runtime/vm/object.cc#newcode1161 runtime/vm/object.cc:1161: RegisterPrivateClass(cls, Symbols::_UserTag(), lib); On 2014/04/09 21:32:01, siva wrote: > ...
6 years, 8 months ago (2014-04-09 22:27:20 UTC) #5
siva
LGTM with comments. https://codereview.chromium.org/230863005/diff/120001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/230863005/diff/120001/runtime/vm/object.cc#newcode1464 runtime/vm/object.cc:1464: object_store->set_object_class(cls); object_store->set_user_tag_class(cls); https://codereview.chromium.org/230863005/diff/120001/runtime/vm/object.cc#newcode18331 runtime/vm/object.cc:18331: ASSERT(!TagTableIsFull(isolate)); why ...
6 years, 8 months ago (2014-04-10 21:35:23 UTC) #6
Cutch
https://codereview.chromium.org/230863005/diff/120001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/230863005/diff/120001/runtime/vm/object.cc#newcode1464 runtime/vm/object.cc:1464: object_store->set_object_class(cls); On 2014/04/10 21:35:24, siva wrote: > object_store->set_user_tag_class(cls); Done. ...
6 years, 8 months ago (2014-04-10 22:18:29 UTC) #7
Cutch
6 years, 8 months ago (2014-04-10 22:33:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #11 manually as r34949 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698