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

Issue 7756015: Get rid of a LazyInstance usage to get rid of code execution at static init time. This doesn't ne... (Closed)

Created:
9 years, 3 months ago by michaeln
Modified:
9 years, 3 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Get rid of a LazyInstance usage to get rid of code execution at static init time. This doesn't need to be thread safe. BUG=94925 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99815

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M webkit/appcache/web_application_cache_host_impl.cc View 1 2 6 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
michaeln
I'll have to fiddle with some suppressions for this one i think since we'll be ...
9 years, 3 months ago (2011-08-31 21:41:33 UTC) #1
Evan Martin
Is it possible to hang this off of the appropriate data structure? For example, in ...
9 years, 3 months ago (2011-08-31 21:42:58 UTC) #2
michaeln
On 2011/08/31 21:42:58, Evan Martin wrote: > Is it possible to hang this off of ...
9 years, 3 months ago (2011-08-31 21:46:55 UTC) #3
Evan Martin
The LazyInstance pattern is supposed to work. I wonder why it doesn't...
9 years, 3 months ago (2011-08-31 22:35:35 UTC) #4
michaeln
On 2011/08/31 22:35:35, Evan Martin wrote: > The LazyInstance pattern is supposed to work. I ...
9 years, 3 months ago (2011-08-31 22:41:32 UTC) #5
Evan Martin
On 2011/08/31 22:41:32, michaeln wrote: > On 2011/08/31 22:35:35, Evan Martin wrote: > > The ...
9 years, 3 months ago (2011-08-31 22:49:54 UTC) #6
Evan Martin
On 2011/08/31 22:49:54, Evan Martin wrote: > On 2011/08/31 22:41:32, michaeln wrote: > > On ...
9 years, 3 months ago (2011-08-31 22:51:39 UTC) #7
michaeln
Hmmm... fwiw, here's what dumpbin.exe says about the g_host_map LazyInstance in a debug library. I ...
9 years, 3 months ago (2011-09-01 02:45:13 UTC) #8
Evan Martin
Interesting! On my end I asked around and learned that newer gccs don't emit the ...
9 years, 3 months ago (2011-09-01 17:04:06 UTC) #9
michaeln
After seeing the extra bloat introduced to the binary because this is wrapped up in ...
9 years, 3 months ago (2011-09-01 19:53:40 UTC) #10
michaeln
ping
9 years, 3 months ago (2011-09-06 19:12:26 UTC) #11
Evan Martin
LGTM
9 years, 3 months ago (2011-09-06 19:14:19 UTC) #12
Evan Martin
9 years, 3 months ago (2011-09-06 19:14:22 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698