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/Gems/AssetMemoryAnalyzer/Code/Source
lumberyard-employee-dm 090aa8f053
Removed ununeeded includes from EBus EBus.h and Policies.h (#4256)
* Removed ununeeded includes from EBus EBus.h and Policies.h

Updated the locations which needed those includes

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

* Adding missing include for <memory> to AWsClientAuthBus.h

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

* Remove the while true loop in the EBusQueuePolicy Execute() function

The while true loop in Execute was for allowing additional functions to be queued in the middle of execution of current list of functions.
That functionality was dangerous, because if a queued function added itself during execution unconditionally, then it would result in an infinite loop

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

* Updated the AssetManager::DispatchEvents function to pump the AssetBus event queue until empty

Queued Events on the AssetBus is able to queue additional events on that Bus during execution of those events.

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

* Changed the AssetManager::DispatchEvents function to only execute the
AssetBus queued events once

Changed the AssetJobsFloodTest.AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed test to dispatch events until the OnAssetContainerReady callback is signaled.

This happens after every asset load to make sure that the
expiring AssetContainer instances are removed from `AssetManager::m_ownedAssetContainer` container before retrying to load the same asset.

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

* Added a MaxTimeoutSeconds constant for the maximum amount of the time to run a single DispatchEvents loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AssetMemoryAnalyzer.cpp Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
AssetMemoryAnalyzer.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
AssetMemoryAnalyzerModule.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
AssetMemoryAnalyzerSystemComponent.cpp fixes windows warnings 4 years ago
AssetMemoryAnalyzerSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DebugImGUI.cpp enabling warn format security and some fixes 4 years ago
DebugImGUI.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ExportCSV.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
ExportCSV.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ExportJSON.cpp AssetMemoryAnalyzer 4 years ago
ExportJSON.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FormatUtils.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
FormatUtils.h Merge branch 'development' into cmake/SPEC-7179 4 years ago