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

Issue 17233003: Reapply "Initial implementation of on-stack replacement (OSR)." (Closed)

Created:
7 years, 6 months ago by Kevin Millikin (Google)
Modified:
7 years, 6 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Reapply "Initial implementation of on-stack replacement (OSR)." This reapplies SVN r24024 with a bugfix. After OSR compilation, restore the pre-OSR code (which might be already optimized) rather than the unoptimized code (which might have its entry patched). When the optimized code entry is patched it is only safe to call it as a static call, not as an instance call. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=24088

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -215 lines) Patch
M runtime/vm/assembler_ia32.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 3 chunks +29 lines, -4 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 3 chunks +29 lines, -4 lines 0 comments Download
M runtime/vm/code_generator.cc View 3 chunks +42 lines, -3 lines 0 comments Download
M runtime/vm/compiler.h View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/compiler.cc View 12 chunks +29 lines, -23 lines 0 comments Download
M runtime/vm/flow_graph.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph.cc View 2 chunks +16 lines, -11 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 5 chunks +13 lines, -19 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 4 chunks +14 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 12 chunks +50 lines, -38 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 4 chunks +18 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 4 chunks +29 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 4 chunks +31 lines, -20 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 9 chunks +21 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +50 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 3 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 4 chunks +21 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame.h View 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 2 chunks +0 lines, -25 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 2 chunks +1 line, -24 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
The only diff from the original version is: --- a/runtime/vm/code_generator.cc +++ b/runtime/vm/code_generator.cc @@ -1287,20 +1287,21 ...
7 years, 6 months ago (2013-06-17 08:51:29 UTC) #1
Florian Schneider
lgtm
7 years, 6 months ago (2013-06-17 09:00:26 UTC) #2
Kevin Millikin (Google)
7 years, 6 months ago (2013-06-17 11:05:35 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r24088 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698