You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzCore/AzCore
lumberyard-employee-dm 97e9f4dc7d
[LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564)
* Added a stateless allocator which uses AZ_OS_MALLOC/AZ_OS_FREE to
allocate memory for objects in static memory.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the Maestro and LyShine Anim Nodes to use the
stateless_allocator for its static containers.

This prevents crashes in static de-init due to the SystemAllocator being
destroyed at that poitn

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the EBus AllocatorType to use the EBusEnvironmentAllocator

Because the EBus Context resides in static memory, the SystemAllocator
lifetime is shorter than the EBus Context.

This results in shutdown crashes in monolithic builds due to all of the
gem modules being linked in as static libraries and the EBus context now
destructing at the point of the executable static de-init, instead of
the module de-init, where the SystemAllocator would still be around.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed an assortment of shutdown issues due to deleting objects after
AZ allocators are no longer available

Fixed the NameDictionary IsReady() function to not assert when the
dictionary when invoked after the environment variable it was stored in
was destroyed.
Updated the NameData destructor to check that the NameDictionary
IsReady() before attempting to remove itself from the dictionary

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixed NameDictionary destory workflow, to reset the EnvironmentVariable
instance

Updated the EnvironmentVariable instance to store the NameDictionary as a
value.

Added a rvalue reference `Set` function overload to the
EnvironmentVariable class to support move only types.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Clang 6.0.0 build fixes

The C++17 std::launder feature isn't available in that compiler version

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
Android Deprecate profiler categories based on global enum 4 years ago
Asset Feature json assetloading assethints (#4554) 4 years ago
Casting Improves numeric_cast compilation (#3995) 4 years ago
Component merging latest dev 4 years ago
Compression Modernization + AZStd::function compare fix. (#3680) 4 years ago
Console Console changes: Added a new SettingsRegistry root key for executing (#4567) 4 years ago
Debug [development] Migrate Atom CPU timing stats tracking to use global stats profiler (#4549) 4 years ago
Driller Merge branch 'development' into cmake/warn_virtual 4 years ago
EBus [LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564) 4 years ago
IO Update the FileIO Aliases (#4186) 4 years ago
IPC Modernization + AZStd::function compare fix. (#3680) 4 years ago
Interface Minimal TypeInfo header/reduce std interdependencies. (#2688) 4 years ago
JSON Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Jobs Updated with PR feedback. Created a common function to calculate the number of worker threads. 4 years ago
Math Squashed commit of Procedural Prefab work (#4481) 4 years ago
Memory [LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564) 4 years ago
Module [LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564) 4 years ago
Name [LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564) 4 years ago
NativeUI Modernization + AZStd::function compare fix. (#3680) 4 years ago
Outcome Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformId Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
Preprocessor Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
RTTI Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
Script Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
ScriptCanvas Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Serialization Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Settings Implemented a deferred LoadLevel queue for the SpawnableLevelSystem (#4561) 4 years ago
Slice Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Socket Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
State Modernization + AZStd::function compare fix. (#3680) 4 years ago
Statistics [development] Revived the statistical profiler (#4378) 4 years ago
StringFunc change conversions to static_cast 4 years ago
Task Updated with PR feedback. Created a common function to calculate the number of worker threads. 4 years ago
Threading Updated with PR feedback. Created a common function to calculate the number of worker threads. 4 years ago
Time many bug fixes 4 years ago
UnitTest Update the FileIO Aliases (#4186) 4 years ago
UserSettings fixing AzCore for linux/windows virtual warn 4 years ago
Utils Update the FileIO Aliases (#4186) 4 years ago
XML Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
std [LYN-6838] Various Monolithic shutdown fixes for the GameLauncher (#4564) 4 years ago
AzCoreModule.cpp [development] Revived the statistical profiler (#4378) 4 years ago
AzCoreModule.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
BuildInfo.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Docs.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Platform.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Platform.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformDef.h remove unnecessary ALIGN macros 4 years ago
PlatformIncl.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformRestrictedFileDef.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
azcore_files.cmake Implemented a deferred LoadLevel queue for the SpawnableLevelSystem (#4561) 4 years ago
azcoretestcommon_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
base.h WIP 4 years ago