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

Issue 2653583002: VM: Fix asan memory leak in some standalone tests (Closed)

Created:
3 years, 11 months ago by kustermann
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: Fix asan memory leak in some standalone tests Fixes #28350 R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/3f0ea0f50ee06b395d2c02f592ae8c13ba1b461d

Patch Set 1 #

Patch Set 2 : Switch to propagate the error manually #

Total comments: 7

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -16 lines) Patch
M runtime/bin/directory.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M runtime/bin/directory.cc View 1 2 5 chunks +26 lines, -12 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
kustermann
/slava Should we cc someone else on these changes?
3 years, 11 months ago (2017-01-23 10:33:05 UTC) #2
Vyacheslav Egorov (Google)
I think it's better to refactor this code to avoid doing Dart_PropagateError deep down the ...
3 years, 11 months ago (2017-01-23 11:09:51 UTC) #5
kustermann
PTAL
3 years, 11 months ago (2017-01-23 12:10:45 UTC) #6
Vyacheslav Egorov (Google)
LGTM
3 years, 11 months ago (2017-01-23 14:56:32 UTC) #7
zra
https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc#newcode136 runtime/bin/directory.cc:136: Directory::List(&sync_listing); dart_error = sync_listing.error(); https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.h File runtime/bin/directory.h (right): https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.h#newcode220 ...
3 years, 11 months ago (2017-01-23 17:04:52 UTC) #9
kustermann
https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc#newcode136 runtime/bin/directory.cc:136: Directory::List(&sync_listing); On 2017/01/23 17:04:51, zra wrote: > dart_error = ...
3 years, 11 months ago (2017-01-23 18:45:32 UTC) #10
kustermann
Committed patchset #3 (id:40001) manually as 3f0ea0f50ee06b395d2c02f592ae8c13ba1b461d (presubmit successful).
3 years, 11 months ago (2017-01-23 18:45:38 UTC) #12
zra
https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.cc#newcode136 runtime/bin/directory.cc:136: Directory::List(&sync_listing); On 2017/01/23 18:45:32, kustermann wrote: > On 2017/01/23 ...
3 years, 11 months ago (2017-01-23 18:53:15 UTC) #13
kustermann
3 years, 11 months ago (2017-01-23 18:55:44 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.h
File runtime/bin/directory.h (right):

https://codereview.chromium.org/2653583002/diff/20001/runtime/bin/directory.h...
runtime/bin/directory.h:220: Dart_Handle* dart_error_;
> What call site?

Line 128 here 
https://codereview.chromium.org/2653583002/diff/40001/runtime/bin/directory.cc

Powered by Google App Engine
This is Rietveld 408576698