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

Issue 896133003: Fix Dartium DEBUG failures by ensuring proper scoping within GC prologue/epilogue. (Closed)

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

Description

Fix Dartium DEBUG failures by ensuring proper scoping within GC prologue/epilogue. This ensures that the zone-allocating parts of ScavengeVisitor and MarkingVisitor are destroyed before the Dartium GC epilogue deletes the zone in which they were allocating. (This only explains DEBUG mode failures, caused by the zapping in the GrowableArray destructor, because the values of the arrays are not used after the epilogue runs.) BUG=dart:22224 R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=43558

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -40 lines) Patch
M runtime/vm/gc_marker.cc View 1 2 3 4 5 1 chunk +16 lines, -12 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 2 chunks +31 lines, -27 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
koda
5 years, 10 months ago (2015-02-05 23:22:46 UTC) #1
siva
LGTM. https://codereview.chromium.org/896133003/diff/40002/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/896133003/diff/40002/runtime/vm/gc_marker.cc#newcode508 runtime/vm/gc_marker.cc:508: { maybe we should start our own zone ...
5 years, 10 months ago (2015-02-05 23:53:07 UTC) #2
koda
https://codereview.chromium.org/896133003/diff/40002/runtime/vm/gc_marker.cc File runtime/vm/gc_marker.cc (right): https://codereview.chromium.org/896133003/diff/40002/runtime/vm/gc_marker.cc#newcode508 runtime/vm/gc_marker.cc:508: { On 2015/02/05 23:53:06, siva wrote: > maybe we ...
5 years, 10 months ago (2015-02-06 00:16:07 UTC) #4
koda
5 years, 10 months ago (2015-02-06 17:38:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #6 (id:80001) manually as r43558 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698