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

Issue 9874020: Provide a NSAutoreleasePool for the SequencedWorkerPool::Inner::ThreadLoop(). (Closed)

Created:
8 years, 9 months ago by Robert Sesek
Modified:
8 years, 8 months ago
Reviewers:
Mark Mentovai, akalin
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Provide a NSAutoreleasePool for the SequencedWorkerPool::Inner::ThreadLoop(). This adds a pool that is drained on every cycle of the thread loop, just like in MessagePumpDefault and MessagePumpLibevent, which mimics the behavior of the system run loops. BUG=120654 TEST=Launch Chromium. See no messages about leaking objects for want of a pool. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129540

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M base/threading/sequenced_worker_pool.cc View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Robert Sesek
8 years, 9 months ago (2012-03-28 15:24:24 UTC) #1
Mark Mentovai
LGTM
8 years, 9 months ago (2012-03-28 18:09:24 UTC) #2
akalin
LGTM
8 years, 9 months ago (2012-03-28 18:21:37 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9874020/1
8 years, 9 months ago (2012-03-28 18:23:37 UTC) #4
commit-bot: I haz the power
8 years, 8 months ago (2012-03-29 00:49:48 UTC) #5
Change committed as 129540

Powered by Google App Engine
This is Rietveld 408576698