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

Issue 1857273002: Fix detection if a function was compiled, (Closed)

Created:
4 years, 8 months ago by srdjan
Modified:
4 years, 8 months ago
Reviewers:
Florian Schneider, siva
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 detection if a function was compiled, Background compilation requires that a function was run through parser in mutator thread at least once. Because snapshots can/could preload ICData and code they are not reliable signals if the function was compiled or not. Add a bit to function object. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/c87181af57b5af929519e51416cf900282e53e2e

Patch Set 1 #

Patch Set 2 : uint64 #

Patch Set 3 : work #

Patch Set 4 : merge #

Total comments: 4

Patch Set 5 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -12 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 3 chunks +13 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
srdjan
4 years, 8 months ago (2016-04-05 18:30:00 UTC) #2
siva
LGTM with one comment regarding reading from snapshot for precompiled case. https://codereview.chromium.org/1857273002/diff/60001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): ...
4 years, 8 months ago (2016-04-05 20:20:42 UTC) #3
srdjan
https://codereview.chromium.org/1857273002/diff/60001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/1857273002/diff/60001/runtime/vm/compiler.cc#newcode1170 runtime/vm/compiler.cc:1170: function.set_was_compiled(true); On 2016/04/05 20:20:42, siva wrote: > Maybe clearly ...
4 years, 8 months ago (2016-04-05 20:31:19 UTC) #4
srdjan
4 years, 8 months ago (2016-04-05 20:32:20 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
c87181af57b5af929519e51416cf900282e53e2e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698