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

Issue 396213005: Fix PcDescriptor iteratot to never return a pointer to a memory location since the data can move wi… (Closed)

Created:
6 years, 5 months ago by srdjan
Modified:
6 years, 5 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva, siva
Visibility:
Public.

Description

Fix PcDescriptor iterator to never return a pointer to a memory location since the PcDescriptor can move with the GC. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=38338

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 9

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -86 lines) Patch
runtime/vm/code_descriptors_test.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
runtime/vm/coverage.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
runtime/vm/debugger.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
runtime/vm/debugger.cc View 1 2 3 4 5 9 chunks +37 lines, -37 lines 0 comments Download
runtime/vm/object.h View 1 2 3 4 5 2 chunks +20 lines, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 9 chunks +22 lines, -22 lines 0 comments Download
runtime/vm/object_test.cc View 1 2 3 4 5 2 chunks +24 lines, -12 lines 0 comments Download
runtime/vm/raw_object.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
runtime/vm/simulator_arm.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
runtime/vm/stack_frame.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
6 years, 5 months ago (2014-07-16 21:29:25 UTC) #1
hausner
There is still a bug, see comment in ContextLevel(). I have to say I really ...
6 years, 5 months ago (2014-07-16 22:29:38 UTC) #2
srdjan
Will address the performance issue in another CL. PTAL. https://codereview.chromium.org/396213005/diff/60001/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/396213005/diff/60001/runtime/vm/debugger.cc#newcode360 runtime/vm/debugger.cc:360: ...
6 years, 5 months ago (2014-07-16 23:06:13 UTC) #3
hausner
LGTM with a couple of nits. https://codereview.chromium.org/396213005/diff/80001/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/396213005/diff/80001/runtime/vm/debugger.cc#newcode358 runtime/vm/debugger.cc:358: // Compute token_pos_ ...
6 years, 5 months ago (2014-07-16 23:39:57 UTC) #4
srdjan
https://codereview.chromium.org/396213005/diff/80001/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/396213005/diff/80001/runtime/vm/debugger.cc#newcode358 runtime/vm/debugger.cc:358: // Compute token_pos_ and pc_desc_index_. On 2014/07/16 23:39:57, hausner ...
6 years, 5 months ago (2014-07-17 18:22:17 UTC) #5
srdjan
6 years, 5 months ago (2014-07-17 18:30:44 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r38338 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698