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

Issue 1316673005: Track which entries in the ObjectPool are native entries, and reset them when loading a precompiled… (Closed)

Created:
5 years, 3 months ago by rmacnak
Modified:
5 years, 3 months ago
Reviewers:
Florian Schneider
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

Track which entries in the ObjectPool are native entries, and reset them when loading a precompiled snapshot. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/8ebb9f9b39e1a93e670361b899f2a73e041ad113

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -23 lines) Patch
M runtime/vm/assembler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/assembler.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm64.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/native_entry.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 chunks +3 lines, -9 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/simulator_arm.cc View 1 2 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 13 (1 generated)
rmacnak
5 years, 3 months ago (2015-09-03 23:21:36 UTC) #2
Florian Schneider
Why is this needed? In precompiled code all natives initially invoke LinkNativeCall and patch the ...
5 years, 3 months ago (2015-09-04 08:05:19 UTC) #3
rmacnak
On 2015/09/04 08:05:19, Florian Schneider wrote: > Why is this needed? > > In precompiled ...
5 years, 3 months ago (2015-09-04 18:37:07 UTC) #4
Florian Schneider
On 2015/09/04 18:37:07, rmacnak wrote: > On 2015/09/04 08:05:19, Florian Schneider wrote: > > Why ...
5 years, 3 months ago (2015-09-05 08:31:53 UTC) #5
Florian Schneider
On 2015/09/05 08:31:53, Florian Schneider wrote: > On 2015/09/04 18:37:07, rmacnak wrote: > > On ...
5 years, 3 months ago (2015-09-05 08:32:58 UTC) #6
rmacnak
On 2015/09/05 08:32:58, Florian Schneider wrote: > On 2015/09/05 08:31:53, Florian Schneider wrote: > > ...
5 years, 3 months ago (2015-09-09 00:44:21 UTC) #7
rmacnak
On 2015/09/09 00:44:21, rmacnak wrote: > On 2015/09/05 08:32:58, Florian Schneider wrote: > > On ...
5 years, 3 months ago (2015-09-09 00:47:36 UTC) #8
Florian Schneider
lgtm https://codereview.chromium.org/1316673005/diff/20001/runtime/vm/assembler_arm64.cc File runtime/vm/assembler_arm64.cc (right): https://codereview.chromium.org/1316673005/diff/20001/runtime/vm/assembler_arm64.cc#newcode403 runtime/vm/assembler_arm64.cc:403: LoadWordFromPoolOffsetFixed(dst, offset); Use LoadWordFromPool(...) -Fixed not needed, since ...
5 years, 3 months ago (2015-09-10 20:21:09 UTC) #9
rmacnak
https://codereview.chromium.org/1316673005/diff/20001/runtime/vm/assembler_arm64.cc File runtime/vm/assembler_arm64.cc (right): https://codereview.chromium.org/1316673005/diff/20001/runtime/vm/assembler_arm64.cc#newcode403 runtime/vm/assembler_arm64.cc:403: LoadWordFromPoolOffsetFixed(dst, offset); On 2015/09/10 20:21:09, Florian Schneider wrote: > ...
5 years, 3 months ago (2015-09-10 22:37:27 UTC) #10
rmacnak
Committed patchset #3 (id:40001) manually as 8ebb9f9b39e1a93e670361b899f2a73e041ad113 (presubmit successful).
5 years, 3 months ago (2015-09-10 22:41:41 UTC) #11
Florian Schneider
https://codereview.chromium.org/1316673005/diff/40001/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/1316673005/diff/40001/runtime/vm/simulator_arm.cc#newcode1581 runtime/vm/simulator_arm.cc:1581: ASSERT(redirection->argument_count() == 1); What about simulator_mips.cc and simulator_arm64.cc?
5 years, 3 months ago (2015-09-11 08:06:52 UTC) #12
rmacnak
5 years, 3 months ago (2015-09-12 22:29:44 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/1316673005/diff/40001/runtime/vm/simulator_ar...
File runtime/vm/simulator_arm.cc (right):

https://codereview.chromium.org/1316673005/diff/40001/runtime/vm/simulator_ar...
runtime/vm/simulator_arm.cc:1581: ASSERT(redirection->argument_count() == 1);
On 2015/09/11 08:06:52, Florian Schneider wrote:
> What about simulator_mips.cc and simulator_arm64.cc?

Oops, uploaded another CL.

Powered by Google App Engine
This is Rietveld 408576698