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

Issue 1491503003: VM: In CompileAll, don't iterate collected closures for every class (Closed)

Created:
5 years ago by Florian Schneider
Modified:
5 years ago
Reviewers:
hausner
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

VM: In CompileAll, don't iterate collected closures for every class Instead iterate all collected closures at the end. This avoids unnessarily visiting of the collected closures array and calling Function::Owner. BUG= R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/a05ad6111a7fe8e98ee8b713b285458da36b1e55

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -23 lines) Patch
M runtime/vm/compiler.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 chunks +24 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Florian Schneider
5 years ago (2015-12-01 13:25:15 UTC) #2
hausner
LGTM with comment. The only downside I see is that Compiler::CompileAllFunctions(cls) no longer compiles all ...
5 years ago (2015-12-01 16:57:57 UTC) #3
Florian Schneider
Yes, that's correct. If we need this functionality we would need a new method. I ...
5 years ago (2015-12-01 17:04:52 UTC) #4
Florian Schneider
5 years ago (2015-12-01 17:26:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
a05ad6111a7fe8e98ee8b713b285458da36b1e55 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698