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

Issue 396463003: Move some isolate state setup from C++ code to JumpToExceptionHandler stub (Closed)

Created:
6 years, 5 months ago by Cutch
Modified:
6 years, 5 months ago
Reviewers:
regis, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Move some isolate state setup from C++ code to JumpToExceptionHandler stub This change means that the isolate's top exit frame info and vm tag will only be updated after setting the frame pointer. This is step one in a series of changes to allow the profiler to walk the stack when there is no frame pointer. R=asiva@google.com, regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=38216

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -21 lines) Patch
M runtime/vm/exceptions.cc View 1 4 chunks +9 lines, -9 lines 0 comments Download
M runtime/vm/simulator_arm.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/simulator_arm.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/simulator_arm64.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/simulator_arm64.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/simulator_mips.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 1 chunk +11 lines, -3 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Cutch
6 years, 5 months ago (2014-07-14 19:35:57 UTC) #1
regis
LGTM All my comments are regarding the use of CTX, which may be free, but ...
6 years, 5 months ago (2014-07-14 20:00:34 UTC) #2
siva
LGTM with some comments https://codereview.chromium.org/396463003/diff/20001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/396463003/diff/20001/runtime/vm/exceptions.cc#newcode288 runtime/vm/exceptions.cc:288: isolate->set_top_context(Context::null()); Why not move the ...
6 years, 5 months ago (2014-07-14 20:13:12 UTC) #3
Cutch
https://codereview.chromium.org/396463003/diff/1/runtime/vm/stub_code_arm.cc File runtime/vm/stub_code_arm.cc (right): https://codereview.chromium.org/396463003/diff/1/runtime/vm/stub_code_arm.cc#newcode1698 runtime/vm/stub_code_arm.cc:1698: __ ldr(CTX, Address(SP, 4)); // Isolate. On 2014/07/14 20:00:34, ...
6 years, 5 months ago (2014-07-14 21:32:08 UTC) #4
Cutch
6 years, 5 months ago (2014-07-14 22:00:05 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r38216 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698