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

Issue 695483003: Remove saving/restoring of the context at function entry. (Closed)

Created:
6 years, 1 month ago by Florian Schneider
Modified:
6 years, 1 month ago
Reviewers:
hausner, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, turnidge, regis
Visibility:
Public.

Description

Remove saving/restoring of the context at function entry. This is not needed anymore after I changed the current context to always reside in a local variable. Further simplifications and cleanup in the debugger. This also fixes a bad memory retention problem with non-capturing closures. BUG=dartbug.com/18886 TEST=tests/language/vm/closure_memory_retention_test.dart R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=41433

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -275 lines) Patch
M runtime/vm/compiler.cc View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/debugger.h View 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 2 chunks +7 lines, -32 lines 0 comments Download
M runtime/vm/debugger_arm.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/debugger_arm64.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/debugger_ia32.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/debugger_mips.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/debugger_x64.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 8 chunks +28 lines, -55 lines 0 comments Download
M runtime/vm/object.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M runtime/vm/parser.h View 3 chunks +0 lines, -10 lines 0 comments Download
M runtime/vm/parser.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M runtime/vm/parser_test.cc View 7 chunks +14 lines, -28 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/scopes.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M runtime/vm/symbols.h View 1 chunk +0 lines, -1 line 0 comments Download
A tests/language/vm/closure_memory_retention_test.dart View 1 2 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Florian Schneider
6 years, 1 month ago (2014-10-30 16:24:44 UTC) #2
hausner
Nice cleanup indeed. LGTM, but I suggest that Regis look at this as well. He ...
6 years, 1 month ago (2014-10-30 17:07:27 UTC) #3
siva
Adding Todd to the cc list as he fixed a number of crashes in this ...
6 years, 1 month ago (2014-10-30 17:13:51 UTC) #5
Florian Schneider
Thanks! @Regis, Todd: Please take a look if you would like to. https://codereview.chromium.org/695483003/diff/20001/runtime/vm/debugger.cc File runtime/vm/debugger.cc ...
6 years, 1 month ago (2014-10-30 17:21:58 UTC) #6
Florian Schneider
6 years, 1 month ago (2014-10-31 07:36:03 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as r41433 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698