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

Issue 2734323003: Re-landing of "replace TrySync with Metadata". (Closed)

Created:
3 years, 9 months ago by Dmitry Olshansky
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Re-landing of "replace TrySync with Metadata". Use that to sync variables to predefined stack slots inside of exception handler, not before each MayThrow() instruction. In JIT mode we can avoid storing extra metadata by using deopt info instead. Introduce caching of metadata and exception handler based on PC. R=fschneider@google.com, vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/170aa901585cb3180cabf16dc476c0bf255fe9a7

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+830 lines, -226 lines) Patch
M runtime/vm/clustered_snapshot.cc View 3 chunks +17 lines, -0 lines 0 comments Download
M runtime/vm/code_descriptors.h View 2 chunks +54 lines, -0 lines 0 comments Download
M runtime/vm/code_descriptors.cc View 1 chunk +97 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/deopt_instructions.h View 6 chunks +31 lines, -1 line 0 comments Download
M runtime/vm/deopt_instructions.cc View 3 chunks +47 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.cc View 4 chunks +203 lines, -48 lines 0 comments Download
M runtime/vm/fixed_cache.h View 1 4 chunks +2 lines, -13 lines 0 comments Download
M runtime/vm/fixed_cache_test.cc View 1 1 chunk +41 lines, -29 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 6 chunks +18 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 7 chunks +113 lines, -67 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 7 chunks +8 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 7 chunks +8 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 4 chunks +4 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 7 chunks +8 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 7 chunks +8 lines, -12 lines 0 comments Download
M runtime/vm/heap.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 8 chunks +17 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 8 chunks +17 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 7 chunks +17 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 9 chunks +17 lines, -3 lines 0 comments Download
M runtime/vm/isolate.h View 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/stack_frame.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
Dmitry Olshansky
This is reworked version of the lastly reviewed CL. I had to pull it out ...
3 years, 9 months ago (2017-03-08 16:38:59 UTC) #2
Florian Schneider
lgtm https://codereview.chromium.org/2734323003/diff/1/runtime/vm/exceptions.h File runtime/vm/exceptions.h (right): https://codereview.chromium.org/2734323003/diff/1/runtime/vm/exceptions.h#newcode112 runtime/vm/exceptions.h:112: : data(data_), ref_count(new intptr_t(1)) {} Style: Private fields ...
3 years, 9 months ago (2017-03-09 16:33:33 UTC) #4
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2734323003/diff/1/runtime/vm/fixed_cache_test.cc File runtime/vm/fixed_cache_test.cc (right): https://codereview.chromium.org/2734323003/diff/1/runtime/vm/fixed_cache_test.cc#newcode62 runtime/vm/fixed_cache_test.cc:62: ~Resource() { delete stuff; } You need a ...
3 years, 9 months ago (2017-03-10 08:29:33 UTC) #5
Dmitry Olshansky
https://codereview.chromium.org/2734323003/diff/1/runtime/vm/exceptions.h File runtime/vm/exceptions.h (right): https://codereview.chromium.org/2734323003/diff/1/runtime/vm/exceptions.h#newcode112 runtime/vm/exceptions.h:112: : data(data_), ref_count(new intptr_t(1)) {} On 2017/03/09 16:33:32, Florian ...
3 years, 9 months ago (2017-03-13 12:26:31 UTC) #6
Dmitry Olshansky
3 years, 9 months ago (2017-03-13 12:27:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
170aa901585cb3180cabf16dc476c0bf255fe9a7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698