LazyInstance should be thread safe by default.
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 16 Apr 2014 11:31:39 +0000 (11:31 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 16 Apr 2014 11:31:39 +0000 (11:31 +0000)
commit63802cddc19436df8c5f2d3243c93b243f9800c7
tree5ccbc34014b27ae80493f4d5f36ccd9e94a5f017
parent9da828a5a5c3c9eaf9808a1c6415fce2d7bdb90e
LazyInstance should be thread safe by default.

The only ways we use this class require it, as multiple isolates can race
to initialize data structures. This showed up as intermittant failures on
nosnap build bots.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/238973004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20794 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/lazy-instance.h