DescriptionTracing 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 : '' #Messages
Total messages: 5 (0 generated)
|