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

Issue 1215773002: Fix allocation stub switching (Closed)

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

Description

Fix allocation stub switching - When disabling the allocation stub for a class, patch the stub so that the next caller will regenerate the stub. - Use allocation profiling to test that stub switching and regeneration works. R=koda@google.com Committed: https://github.com/dart-lang/sdk/commit/48dfce84b1328c156c93ebb652557ad5a7fbbfa1

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -1 line) Patch
M runtime/vm/object.cc View 1 2 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/profiler_test.cc View 1 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Cutch
5 years, 6 months ago (2015-06-26 16:21:35 UTC) #2
koda
LGTM I will think about how to improve compiler_test.cc:RegenerateAllocStubs, which currently doesn't verify much at ...
5 years, 6 months ago (2015-06-26 16:58:55 UTC) #3
srdjan
https://chromiumcodereview.appspot.com/1215773002/diff/1/runtime/vm/profiler_test.cc File runtime/vm/profiler_test.cc (right): https://chromiumcodereview.appspot.com/1215773002/diff/1/runtime/vm/profiler_test.cc#newcode205 runtime/vm/profiler_test.cc:205: I would also add a simpler test in object_test.cc: ...
5 years, 6 months ago (2015-06-26 18:12:36 UTC) #4
Cutch
https://chromiumcodereview.appspot.com/1215773002/diff/1/runtime/vm/profiler_test.cc File runtime/vm/profiler_test.cc (right): https://chromiumcodereview.appspot.com/1215773002/diff/1/runtime/vm/profiler_test.cc#newcode205 runtime/vm/profiler_test.cc:205: On 2015/06/26 18:12:36, srdjan wrote: > I would also ...
5 years, 6 months ago (2015-06-26 19:24:00 UTC) #5
Cutch
5 years, 6 months ago (2015-06-26 19:36:00 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
48dfce84b1328c156c93ebb652557ad5a7fbbfa1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698