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

Issue 63093003: Fix for issue 14790 - Crash when using dartium devtools (Closed)

Created:
7 years, 1 month ago by siva
Modified:
7 years, 1 month ago
Reviewers:
zra, regis, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix for issue 14790 - Crash when using dartium devtools The stack frame iteration during GC was missing one slot in stub frames that did not save the pool pointer. - This change makes all stub frames uniform, i.e they always save/restore the pool pointer. This ensures that we will traverse all slots on the stack. - A new constant called kFirstObjectSlotFromFp has been added which is used as the slot to start stack traversal. (The ARM and MIPs changes will be in a different CL) R=iposva@google.com, regis@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=30088

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 26

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -121 lines) Patch
M runtime/vm/assembler_x64.h View 1 2 3 4 5 4 chunks +10 lines, -10 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 4 5 3 chunks +17 lines, -13 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 2 3 4 5 9 chunks +12 lines, -15 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/instructions_x64_test.cc View 1 2 3 4 5 1 chunk +12 lines, -4 lines 0 comments Download
M runtime/vm/object_x64_test.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 4 5 2 chunks +21 lines, -5 lines 0 comments Download
M runtime/vm/stack_frame_arm.h View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M runtime/vm/stack_frame_ia32.h View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/stack_frame_mips.h View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M runtime/vm/stack_frame_x64.h View 1 2 3 4 5 2 chunks +9 lines, -6 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 4 5 39 chunks +50 lines, -51 lines 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
siva
7 years, 1 month ago (2013-11-07 19:02:57 UTC) #1
zra
lgtm https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.cc#newcode2876 runtime/vm/assembler_x64.cc:2876: void Assembler::LeaveStubFrame() { This looks the same as ...
7 years, 1 month ago (2013-11-07 19:28:17 UTC) #2
regis
LGTM https://codereview.chromium.org/63093003/diff/380001/runtime/vm/stack_frame_arm.h File runtime/vm/stack_frame_arm.h (right): https://codereview.chromium.org/63093003/diff/380001/runtime/vm/stack_frame_arm.h#newcode29 runtime/vm/stack_frame_arm.h:29: * against a slot indicates it needs to ...
7 years, 1 month ago (2013-11-07 19:53:11 UTC) #3
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.h File runtime/vm/assembler_x64.h (right): https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.h#newcode778 runtime/vm/assembler_x64.h:778: // ret PC In all other ASCII ...
7 years, 1 month ago (2013-11-07 22:11:57 UTC) #4
siva
https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.cc File runtime/vm/assembler_x64.cc (right): https://codereview.chromium.org/63093003/diff/380001/runtime/vm/assembler_x64.cc#newcode2876 runtime/vm/assembler_x64.cc:2876: void Assembler::LeaveStubFrame() { On 2013/11/07 19:28:17, zra wrote: > ...
7 years, 1 month ago (2013-11-07 23:08:19 UTC) #5
regis
LGTM https://codereview.chromium.org/63093003/diff/510001/runtime/vm/stack_frame_arm.h File runtime/vm/stack_frame_arm.h (right): https://codereview.chromium.org/63093003/diff/510001/runtime/vm/stack_frame_arm.h#newcode29 runtime/vm/stack_frame_arm.h:29: R against a slot indicates it needs to ...
7 years, 1 month ago (2013-11-07 23:17:52 UTC) #6
siva
https://codereview.chromium.org/63093003/diff/510001/runtime/vm/stack_frame_arm.h File runtime/vm/stack_frame_arm.h (right): https://codereview.chromium.org/63093003/diff/510001/runtime/vm/stack_frame_arm.h#newcode29 runtime/vm/stack_frame_arm.h:29: R against a slot indicates it needs to be ...
7 years, 1 month ago (2013-11-08 00:25:47 UTC) #7
siva
7 years, 1 month ago (2013-11-08 00:25:53 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 manually as r30088 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698