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

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)

Created:
3 years, 5 months ago by Aske Simon Christensen
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. Saves about a megabyte on the size of the precompiled runtime VM. Next step will be to eliminate the assemblers and code stubs as well. This requires some more disentangling. Until then, the X64 build still includes the compiler, since its assembler has a dependency on locations.cc, which is part of the compiler. BUG= https://github.com/dart-lang/sdk/issues/30045 R=rmacnak@google.com, zra@google.com Committed: https://github.com/dart-lang/sdk/commit/ab7d9a57205a6cf2004776e8f16e4bf85ddf6c69

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use NOT_IN_PRECOMPILED macro for oneliners #

Total comments: 6

Patch Set 3 : Moved trace_irregexp flag to flag_list.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -343 lines) Patch
M runtime/lib/regexp.cc View 1 2 2 chunks +7 lines, -9 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 2 chunks +23 lines, -2 lines 0 comments Download
M runtime/vm/deopt_instructions.h View 1 chunk +45 lines, -0 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 chunk +105 lines, -0 lines 0 comments Download
M runtime/vm/flag_list.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +0 lines, -84 lines 0 comments Download
M runtime/vm/isolate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +0 lines, -45 lines 0 comments Download
M runtime/vm/object.cc View 5 chunks +10 lines, -105 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/program_visitor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/program_visitor.cc View 1 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/regexp.h View 1 1 chunk +23 lines, -13 lines 0 comments Download
M runtime/vm/regexp.cc View 1 2 6 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/regexp_assembler.cc View 1 chunk +49 lines, -0 lines 0 comments Download
M runtime/vm/regexp_assembler_ir.cc View 1 2 3 chunks +0 lines, -50 lines 0 comments Download
M runtime/vm/regexp_parser.h View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/regexp_parser.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M runtime/vm/runtime_entry.cc View 1 chunk +84 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame.cc View 4 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Aske Simon Christensen
3 years, 5 months ago (2017-06-29 15:47:33 UTC) #4
zra
https://codereview.chromium.org/2960413002/diff/1/runtime/vm/program_visitor.cc File runtime/vm/program_visitor.cc (right): https://codereview.chromium.org/2960413002/diff/1/runtime/vm/program_visitor.cc#newcode613 runtime/vm/program_visitor.cc:613: DedupDeoptEntries(); You can use the NOT_IN_PRECOMPILED() macro for single-line ...
3 years, 5 months ago (2017-06-30 00:07:00 UTC) #5
Aske Simon Christensen
https://codereview.chromium.org/2960413002/diff/1/runtime/vm/program_visitor.cc File runtime/vm/program_visitor.cc (right): https://codereview.chromium.org/2960413002/diff/1/runtime/vm/program_visitor.cc#newcode613 runtime/vm/program_visitor.cc:613: DedupDeoptEntries(); On 2017/06/30 00:07:00, zra wrote: > You can ...
3 years, 5 months ago (2017-07-03 13:41:08 UTC) #6
zra
lgtm but I think rmacnak should take a look as well. https://codereview.chromium.org/2960413002/diff/20001/runtime/vm/regexp_assembler_ir.cc File runtime/vm/regexp_assembler_ir.cc (right): ...
3 years, 5 months ago (2017-07-10 16:07:11 UTC) #8
rmacnak
lgtm https://codereview.chromium.org/2960413002/diff/20001/runtime/lib/regexp.cc File runtime/lib/regexp.cc (right): https://codereview.chromium.org/2960413002/diff/20001/runtime/lib/regexp.cc#newcode89 runtime/lib/regexp.cc:89: #if !defined(DART_PRECOMPILED_RUNTIME) Not in this CL, but we ...
3 years, 5 months ago (2017-07-10 17:50:01 UTC) #9
Aske Simon Christensen
I will land this CL and then upload a new one for the assembler/stub changes. ...
3 years, 5 months ago (2017-07-11 09:11:56 UTC) #10
Aske Simon Christensen
3 years, 5 months ago (2017-07-11 10:02:18 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
ab7d9a57205a6cf2004776e8f16e4bf85ddf6c69 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698