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

Issue 2228503007: Fixes memory leaks in the eventhandler (Closed)

Created:
4 years, 4 months ago by zra
Modified:
4 years, 4 months ago
Reviewers:
Søren Gjesse, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fixes memory leaks in the eventhandler These probably only happen when the VM is going down after an unhandled exception, but I want to fix them anyway. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/92abe83b26aabbba4f8cfbf23dd73d9b343f10a0

Patch Set 1 #

Patch Set 2 : Also update Android and Mac #

Patch Set 3 : Cleanup #

Total comments: 8

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -43 lines) Patch
M runtime/bin/eventhandler.h View 1 2 3 7 chunks +19 lines, -5 lines 0 comments Download
M runtime/bin/eventhandler_android.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/bin/eventhandler_linux.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/bin/eventhandler_macos.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/bin/socket.h View 2 chunks +5 lines, -0 lines 0 comments Download
M runtime/bin/socket.cc View 1 2 3 1 chunk +46 lines, -31 lines 0 comments Download
M runtime/platform/hashmap.h View 3 chunks +9 lines, -2 lines 0 comments Download
M runtime/platform/hashmap.cc View 1 2 4 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
zra
4 years, 4 months ago (2016-08-09 18:15:51 UTC) #2
siva
lgtm https://codereview.chromium.org/2228503007/diff/40001/runtime/bin/eventhandler.h File runtime/bin/eventhandler.h (right): https://codereview.chromium.org/2228503007/diff/40001/runtime/bin/eventhandler.h#newcode206 runtime/bin/eventhandler.h:206: RemoveHead(); Wouldn't it be more atomic to pass ...
4 years, 4 months ago (2016-08-09 21:41:43 UTC) #3
zra
https://codereview.chromium.org/2228503007/diff/40001/runtime/bin/eventhandler.h File runtime/bin/eventhandler.h (right): https://codereview.chromium.org/2228503007/diff/40001/runtime/bin/eventhandler.h#newcode206 runtime/bin/eventhandler.h:206: RemoveHead(); On 2016/08/09 21:41:43, siva wrote: > Wouldn't it ...
4 years, 4 months ago (2016-08-09 22:19:28 UTC) #4
zra
4 years, 4 months ago (2016-08-09 22:20:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
92abe83b26aabbba4f8cfbf23dd73d9b343f10a0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698