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

Issue 9027007: Try to fix the memory leak reports in g_restrictions. (Closed)

Created:
9 years ago by jstritar
Modified:
8 years, 11 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, jstritar+watch_chromium.org, mihaip+watch_chromium.org
Visibility:
Public.

Description

Try to fix the memory leak reports in g_restrictions. This updates the Restrictions usage to be more consistent with other LazyInstances: - do not copy and assign - use static keyword - use LAZY_INSTANCE_INITIALIZER BUG=106571 TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117292

Patch Set 1 #

Patch Set 2 : remove valgrind suppression #

Patch Set 3 : different approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -16 lines) Patch
M chrome/common/extensions/manifest.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jstritar
9 years ago (2011-12-22 18:25:52 UTC) #1
Aaron Boodman
I don't understand why this leaks. By default, LazyInstance is supposed to delete itself at ...
8 years, 12 months ago (2011-12-26 06:13:46 UTC) #2
jstritar
Yeah, I think it should. The failures are occurring in UI tests, and there's a ...
8 years, 11 months ago (2012-01-03 18:45:06 UTC) #3
Aaron Boodman
On 2012/01/03 18:45:06, jstritar wrote: > Yeah, I think it should. > > The failures ...
8 years, 11 months ago (2012-01-03 19:26:58 UTC) #4
jstritar
Bringing back this one... If this was caused by the UI tests not exiting cleanly, ...
8 years, 11 months ago (2012-01-10 19:59:05 UTC) #5
Aaron Boodman
lgtm
8 years, 11 months ago (2012-01-10 23:42:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/9027007/13001
8 years, 11 months ago (2012-01-11 19:27:00 UTC) #7
commit-bot: I haz the power
Change committed as 117292
8 years, 11 months ago (2012-01-11 21:32:11 UTC) #8
jstritar
8 years, 11 months ago (2012-01-12 23:38:05 UTC) #9
FYI this stopped the Valgrind errors. Strange...

Powered by Google App Engine
This is Rietveld 408576698