Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added dynamic annotation files into base/. | deanm@chromium.org | 2009-06-26 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Added annotations for atomic reference counting, LazyInstance and Singleton classes. This changelist is a part of an effort of adding ThreadSanitizer support for Chromium. See http://code.google.com/p/data-race-test/wiki/ThreadSanitizer Patch by Timur Iskhodzhanov. Review URL: http://codereview.chromium.org/147008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19353 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Create a LazyInstance abstraction for avoiding static constructors by lazily ↵ | deanm@google.com | 2008-09-08 | 1 | -0/+34 |
creating an instance of an object on first access. This is like Singleton, but without the Singleton property of sharing instances. This also preallocates space for the object to avoid the heap to try to help fragmentation and creation performance. Review URL: http://codereview.chromium.org/1608 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1837 0039d316-1c4b-4281-b951-d872f2087c98 |