HomePhabricator

Changing LockedPageManager to use a managed instance
0b8f47dc531dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Changing LockedPageManager to use a managed instance

This ensures the allocator is ready no matter when it's needed (as
some STL implementations allocate in constructors -- i.e., MSVC's STL
in debug builds).

Using boost::call_once to guarantee thread-safe static initialization.

Adding some comments describing why the change was made.

Addressing deinitialization of the LockedPageManager object
by initializing it in a local static initializer and adding
an assert in the base's destructor.

Details

Provenance
Chuck <chuck@borboggle.com>Authored on Oct 1 2013, 10:23
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING896853a011f6: Merge pull request #3106 from super3/master
Branches
Unknown
Tags
Unknown

Event Timeline

Chuck <chuck@borboggle.com> committed rSTAGING0b8f47dc531d: Changing LockedPageManager to use a managed instance (authored by Chuck <chuck@borboggle.com>).Oct 20 2013, 07:29