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

Issue 2683633005: Add exception handler cache to isolate (Closed)

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

Description

Add exception handler cache to isolate This speeds up frequently throwing exception at the same place(s) in the code. R=fschneider@google.com, vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/a32a3a6d2f06a55041898c1a2be78184302a80d2

Patch Set 1 #

Patch Set 2 : Add exception handler cache to isolate #

Total comments: 8

Patch Set 3 : Address review commments #

Total comments: 18

Patch Set 4 : Address review commments #

Patch Set 5 : Add unittest #

Total comments: 2

Patch Set 6 : s/HandlerInfo/ExceptionHandlerInfo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -30 lines) Patch
M runtime/vm/clustered_snapshot.cc View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/exceptions.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A runtime/vm/fixed_cache.h View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
A runtime/vm/fixed_cache_test.cc View 1 2 3 4 1 chunk +84 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 4 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 3 chunks +4 lines, -5 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 2 chunks +6 lines, -12 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Dmitry Olshansky
3 years, 10 months ago (2017-02-08 12:16:08 UTC) #2
Dmitry Olshansky
3 years, 10 months ago (2017-02-08 12:53:19 UTC) #3
Florian Schneider
Thanks for factoring out into this CL! Just a few comments: https://codereview.chromium.org/2683633005/diff/20001/runtime/vm/fixed_cache.h File runtime/vm/fixed_cache.h (right): ...
3 years, 10 months ago (2017-02-08 21:34:05 UTC) #4
Dmitry Olshansky
https://codereview.chromium.org/2683633005/diff/20001/runtime/vm/fixed_cache.h File runtime/vm/fixed_cache.h (right): https://codereview.chromium.org/2683633005/diff/20001/runtime/vm/fixed_cache.h#newcode20 runtime/vm/fixed_cache.h:20: Duplicates are no allowed - check with Lookup before ...
3 years, 10 months ago (2017-02-09 17:54:34 UTC) #5
Florian Schneider
LGTM. https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h File runtime/vm/fixed_cache.h (right): https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h#newcode26 runtime/vm/fixed_cache.h:26: class FixedCache { Please add a unit test ...
3 years, 10 months ago (2017-02-09 19:25:56 UTC) #6
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h File runtime/vm/fixed_cache.h (right): https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h#newcode13 runtime/vm/fixed_cache.h:13: /* Style: I think this should better be ...
3 years, 10 months ago (2017-02-10 12:45:36 UTC) #7
Dmitry Olshansky
https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h File runtime/vm/fixed_cache.h (right): https://codereview.chromium.org/2683633005/diff/40001/runtime/vm/fixed_cache.h#newcode13 runtime/vm/fixed_cache.h:13: /* On 2017/02/10 12:45:35, Vyacheslav Egorov (Google) wrote: > ...
3 years, 10 months ago (2017-02-10 16:32:15 UTC) #8
hausner
DBC https://codereview.chromium.org/2683633005/diff/80001/runtime/vm/exceptions.h File runtime/vm/exceptions.h (right): https://codereview.chromium.org/2683633005/diff/80001/runtime/vm/exceptions.h#newcode95 runtime/vm/exceptions.h:95: struct HandlerInfo { DBC: Now that this struct ...
3 years, 10 months ago (2017-02-10 21:57:12 UTC) #10
Dmitry Olshansky
https://codereview.chromium.org/2683633005/diff/80001/runtime/vm/exceptions.h File runtime/vm/exceptions.h (right): https://codereview.chromium.org/2683633005/diff/80001/runtime/vm/exceptions.h#newcode95 runtime/vm/exceptions.h:95: struct HandlerInfo { On 2017/02/10 21:57:12, hausner wrote: > ...
3 years, 10 months ago (2017-02-13 10:40:00 UTC) #11
Dmitry Olshansky
3 years, 10 months ago (2017-02-13 10:41:19 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
a32a3a6d2f06a55041898c1a2be78184302a80d2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698