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

Issue 1315893004: Load runtime entries from the Thread instead of the ObjectPool. (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

Load runtime entries from the Thread instead of the ObjectPool. Removes the need to relocate their ObjectPool entries when loading a precompiled snapshot. Saves about ~2kB of ObjectPool in hello_world at the cost of ~400B/Thread (64-bit). R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/9d8dcd1288127b78621d5bf0391de554fe56510f

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : one more runtime entry #

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Patch Set 6 : sync #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+386 lines, -371 lines) Patch
M runtime/vm/intermediate_language.cc View 1 2 3 4 2 chunks +34 lines, -46 lines 0 comments Download
M runtime/vm/native_entry_test.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/regexp_assembler_ir.h View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M runtime/vm/regexp_assembler_ir.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M runtime/vm/runtime_entry.h View 1 2 3 4 6 chunks +12 lines, -50 lines 0 comments Download
A + runtime/vm/runtime_entry.cc View 1 2 3 4 2 chunks +0 lines, -31 lines 0 comments Download
M runtime/vm/runtime_entry_arm.cc View 1 2 1 chunk +18 lines, -14 lines 0 comments Download
M runtime/vm/runtime_entry_arm64.cc View 1 2 2 chunks +23 lines, -15 lines 0 comments Download
M runtime/vm/runtime_entry_ia32.cc View 1 chunk +5 lines, -0 lines 0 comments Download
A runtime/vm/runtime_entry_list.h View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
M runtime/vm/runtime_entry_mips.cc View 1 2 1 chunk +19 lines, -14 lines 0 comments Download
D runtime/vm/runtime_entry_test.cc View 1 chunk +0 lines, -65 lines 0 comments Download
M runtime/vm/runtime_entry_x64.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M runtime/vm/stub_code_arm64_test.cc View 1 2 3 4 4 chunks +23 lines, -22 lines 0 comments Download
M runtime/vm/stub_code_arm_test.cc View 1 2 3 4 4 chunks +23 lines, -22 lines 0 comments Download
M runtime/vm/stub_code_ia32_test.cc View 1 2 3 4 4 chunks +25 lines, -24 lines 0 comments Download
M runtime/vm/stub_code_mips_test.cc View 1 2 3 4 4 chunks +23 lines, -22 lines 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 1 2 3 4 4 chunks +23 lines, -22 lines 0 comments Download
M runtime/vm/thread.h View 1 2 5 chunks +29 lines, -3 lines 0 comments Download
M runtime/vm/thread.cc View 1 2 4 chunks +44 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (1 generated)
rmacnak
5 years, 3 months ago (2015-08-30 23:08:50 UTC) #2
Florian Schneider
Why do you want to avoid relocating those entries? It seems easier to to just ...
5 years, 3 months ago (2015-08-31 06:51:57 UTC) #3
rmacnak
https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry_mips.cc File runtime/vm/runtime_entry_mips.cc (right): https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry_mips.cc#newcode50 runtime/vm/runtime_entry_mips.cc:50: __ lw(T9, Address(THR, Thread::OffsetFromThread(this))); On 2015/08/31 06:51:56, Florian Schneider ...
5 years, 3 months ago (2015-08-31 18:24:24 UTC) #4
rmacnak
On 2015/08/31 06:51:57, Florian Schneider wrote: > Why do you want to avoid relocating those ...
5 years, 3 months ago (2015-08-31 18:29:21 UTC) #5
Florian Schneider
https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h File runtime/vm/runtime_entry.h (left): https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h#oldcode21 runtime/vm/runtime_entry.h:21: #define RUNTIME_ENTRY_LIST(V) \ Why move this to a separate ...
5 years, 3 months ago (2015-09-01 06:19:05 UTC) #6
Florian Schneider
LGTM with comments addressed.
5 years, 3 months ago (2015-09-01 10:44:02 UTC) #7
rmacnak
https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h File runtime/vm/runtime_entry.h (left): https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h#oldcode21 runtime/vm/runtime_entry.h:21: #define RUNTIME_ENTRY_LIST(V) \ On 2015/09/01 06:19:05, Florian Schneider wrote: ...
5 years, 3 months ago (2015-09-01 17:26:54 UTC) #8
Florian Schneider
https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h File runtime/vm/runtime_entry.h (left): https://chromiumcodereview.appspot.com/1315893004/diff/60001/runtime/vm/runtime_entry.h#oldcode21 runtime/vm/runtime_entry.h:21: #define RUNTIME_ENTRY_LIST(V) \ On 2015/09/01 17:26:54, rmacnak wrote: > ...
5 years, 3 months ago (2015-09-02 08:22:03 UTC) #9
rmacnak
https://codereview.chromium.org/1315893004/diff/60001/runtime/vm/runtime_entry_list.h File runtime/vm/runtime_entry_list.h (right): https://codereview.chromium.org/1315893004/diff/60001/runtime/vm/runtime_entry_list.h#newcode46 runtime/vm/runtime_entry_list.h:46: V(TestSmiSub) \ On 2015/09/02 08:22:03, Florian Schneider wrote: > ...
5 years, 3 months ago (2015-09-02 21:58:18 UTC) #10
rmacnak
5 years, 3 months ago (2015-09-02 21:58:32 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
9d8dcd1288127b78621d5bf0391de554fe56510f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698