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

Issue 578443003: Support old-space allocation in generated code (bump block only for now). (Closed)

Created:
6 years, 3 months ago by koda
Modified:
6 years, 3 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Support old-space allocation in generated code (bump block only for now). First steps towards general pretenuring support. * Generalize Heap::Top/EndAddress. * Add testing flag to exercise new code paths. * Also update the slow-case runtime calls, to ensure a fresh block will be allocated in old. Next steps are general invalidation of the generated code and adding a policy that doesn't blow up the store buffers), and freelist allocation. Committed: https://code.google.com/p/dart/source/detail?r=40530

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -215 lines) Patch
M runtime/lib/string.cc View 3 chunks +9 lines, -7 lines 0 comments Download
M runtime/vm/assembler_arm.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_arm.cc View 4 chunks +16 lines, -10 lines 0 comments Download
M runtime/vm/assembler_arm64.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 4 chunks +15 lines, -9 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 3 chunks +10 lines, -8 lines 0 comments Download
M runtime/vm/assembler_mips.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/assembler_mips.cc View 4 chunks +14 lines, -11 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 3 chunks +10 lines, -9 lines 0 comments Download
M runtime/vm/code_generator.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/heap.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/heap.cc View 2 chunks +20 lines, -4 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 7 chunks +12 lines, -13 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 7 chunks +12 lines, -13 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 5 chunks +12 lines, -13 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 7 chunks +12 lines, -13 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 5 chunks +12 lines, -13 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 12 chunks +16 lines, -14 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 10 chunks +26 lines, -15 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 7 chunks +19 lines, -16 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 11 chunks +16 lines, -13 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 8 chunks +18 lines, -15 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years, 3 months ago (2014-09-16 03:23:11 UTC) #1
Ivan Posva
First round of comments. I guess after the lazy walkability change lands, it will reduce ...
6 years, 3 months ago (2014-09-19 18:45:55 UTC) #2
koda
Addressed all comments and sync'ed after submitting page iterator CL. PTAL https://codereview.chromium.org/578443003/diff/40001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): ...
6 years, 3 months ago (2014-09-19 20:48:29 UTC) #3
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/578443003/diff/60001/runtime/vm/stub_code_x64.cc File runtime/vm/stub_code_x64.cc (right): https://codereview.chromium.org/578443003/diff/60001/runtime/vm/stub_code_x64.cc#newcode892 runtime/vm/stub_code_x64.cc:892: intptr_t cid = context_class.id(); ?
6 years, 3 months ago (2014-09-19 22:24:35 UTC) #4
koda
Committed patchset #4 (id:60001) manually as r40530 (presubmit successful).
6 years, 3 months ago (2014-09-19 23:46:36 UTC) #5
koda
6 years, 3 months ago (2014-09-19 23:46:59 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/578443003/diff/60001/runtime/vm/stub_code_x64.cc
File runtime/vm/stub_code_x64.cc (right):

https://codereview.chromium.org/578443003/diff/60001/runtime/vm/stub_code_x64...
runtime/vm/stub_code_x64.cc:892: intptr_t cid = context_class.id();
On 2014/09/19 22:24:35, Ivan Posva wrote:
> ?

Done.

Powered by Google App Engine
This is Rietveld 408576698