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

Issue 9246: Tracing showed that the resource bundle lock was held for long periods of tim... (Closed)

Created:
12 years, 1 month ago by Dean McNamee
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Tracing showed that the resource bundle lock was held for long periods of time, as much as 3.5ms. Altough the lock is not contended in this case, be more precise about when we need to hold the lock. Also clean up a static initialization to use LazyInstance. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4472

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -24 lines) Patch
M chrome/common/resource_bundle.cc View 1 2 3 4 5 6 7 1 chunk +36 lines, -24 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Dean McNamee
Doing some lock analysis. Not a huge deal here, but I saw the lock being ...
12 years, 1 month ago (2008-11-03 15:38:57 UTC) #1
tony
LGTM. If you sync to ToT, you should see code to cache an empty red ...
12 years, 1 month ago (2008-11-03 16:32:14 UTC) #2
tony
LGTM http://codereview.chromium.org/9246/diff/1/2 File chrome/common/resource_bundle.cc (right): http://codereview.chromium.org/9246/diff/1/2#newcode159 Line 159: found = true; How does this work ...
12 years, 1 month ago (2008-11-03 16:32:35 UTC) #3
tony
LGTM! On 2008/11/03 16:32:35, tony wrote: > LGTM > > http://codereview.chromium.org/9246/diff/1/2 > File chrome/common/resource_bundle.cc (right): ...
12 years, 1 month ago (2008-11-03 17:16:34 UTC) #4
brettw
12 years, 1 month ago (2008-11-03 19:12:46 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698