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

Issue 2556193003: VM: Make precompiler process constants/fields only once, avoid using pool.InfoAt() (Closed)

Created:
4 years ago by kustermann
Modified:
4 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Make precompiler process constants/fields only once, avoid using pool.InfoAt() R=fschneider@google.com, vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/b57eaa5f37dcfad2094af83e9ceb6af4becc9f93

Patch Set 1 #

Total comments: 11

Patch Set 2 : Add ": public ValueObject" #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -6 lines) Patch
M runtime/vm/assembler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +20 lines, -0 lines 3 comments Download
M runtime/vm/object.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/precompiler.cc View 7 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
kustermann
https://codereview.chromium.org/2556193003/diff/1/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2556193003/diff/1/runtime/vm/precompiler.cc#newcode842 runtime/vm/precompiler.cc:842: if (pool_info.InfoAt(i) == ObjectPool::kTaggedObject) { This moves the handle ...
4 years ago (2016-12-08 13:52:44 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2556193003/diff/1/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/2556193003/diff/1/runtime/vm/precompiler.cc#newcode1039 runtime/vm/precompiler.cc:1039: consts_to_retain_.Insert(&Instance::ZoneHandle(Z, instance.raw())); On 2016/12/08 13:52:44, kustermann wrote: > ...
4 years ago (2016-12-08 18:18:19 UTC) #3
Florian Schneider
https://codereview.chromium.org/2556193003/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2556193003/diff/1/runtime/vm/object.h#newcode8658 runtime/vm/object.h:8658: class ObjectPoolInfo { : public ValueObject https://codereview.chromium.org/2556193003/diff/1/runtime/vm/object.h#newcode8663 runtime/vm/object.h:8663: explicit ...
4 years ago (2016-12-08 18:30:45 UTC) #4
kustermann
https://codereview.chromium.org/2556193003/diff/1/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2556193003/diff/1/runtime/vm/object.h#newcode8658 runtime/vm/object.h:8658: class ObjectPoolInfo { On 2016/12/08 18:30:45, Florian Schneider wrote: ...
4 years ago (2016-12-08 19:14:38 UTC) #5
Florian Schneider
lgtm
4 years ago (2016-12-08 19:20:32 UTC) #6
Vyacheslav Egorov (Google)
one more comment (if we are adding ValueObject) https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h#newcode8674 runtime/vm/object.h:8674: const ...
4 years ago (2016-12-08 19:21:58 UTC) #7
kustermann
https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h File runtime/vm/object.h (right): https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h#newcode8674 runtime/vm/object.h:8674: const TypedData& array_; On 2016/12/08 19:21:58, Vyacheslav Egorov (Google) ...
4 years ago (2016-12-08 19:30:20 UTC) #8
kustermann
Committed patchset #2 (id:20001) manually as b57eaa5f37dcfad2094af83e9ceb6af4becc9f93 (presubmit successful).
4 years ago (2016-12-09 08:52:16 UTC) #10
kustermann
4 years ago (2016-12-09 08:52:32 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h
File runtime/vm/object.h (right):

https://codereview.chromium.org/2556193003/diff/20001/runtime/vm/object.h#new...
runtime/vm/object.h:8674: const TypedData& array_;
On 2016/12/08 19:30:19, kustermann wrote:
> On 2016/12/08 19:21:58, Vyacheslav Egorov (Google) wrote:
> > DISALLOW_COPY_AND_ASSIGN?
> 
> Isn't the one from the [ValueObject] superclass enough?

I think it is.

Powered by Google App Engine
This is Rietveld 408576698