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

Issue 370005: Cancel unused timeout events. Without this change they can...

Created:
11 years, 1 month ago by dank
Modified:
4 years, 10 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Timur Iskhodzhanov, pam+watch_chromium.org
Visibility:
Public.

Description

Cancel unused timeout events. Without this change they can accumulate for a while, wasting memory and causing unneeded wakeups. BUG=25641 TEST=green valgrind or heapchecker on net_unittests

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M base/message_pump_libevent.cc View 3 chunks +12 lines, -1 line 1 comment Download
M tools/valgrind/memcheck/suppressions.txt View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
dank
Hi Timur+glider, please check that this solves the leak for you. (I don't think the ...
11 years, 1 month ago (2009-11-05 19:15:11 UTC) #1
jeremy
LGTM http://codereview.chromium.org/370005/diff/1/2 File base/message_pump_libevent.cc (right): http://codereview.chromium.org/370005/diff/1/2#newcode218 Line 218: // Tell libevent to break out of ...
11 years, 1 month ago (2009-11-05 22:51:36 UTC) #2
not_the_right_glider
This patch fixes memory leaks in event_ base_loopexit() seen on my local heapcheck buildbot. They're ...
11 years, 1 month ago (2009-11-06 10:28:04 UTC) #3
dank
11 years, 1 month ago (2009-11-06 21:55:56 UTC) #4
thanks, committed (review 372033 )

Powered by Google App Engine
This is Rietveld 408576698