-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(container): lazily-load Vector_Instrumentation
Some global objects, such as Configuration objects in tests, want to use Vector. However, they cannot use Vector because, in instrumented builds, Instrumented_Vector<>'s constructor appends data to Vector_Instrumentation and the initialization order is not guaranteed (thus Vector_Instrumentation could be initialized *after* the Instrumented_Vector<>.) Fix the initialization order problem by lazily-loading the Vector_Instrumentation singleton. Deinitialization order is still a problem and will be fixed in a future commit.
- Loading branch information
Showing
5 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters