aws / lumberyard

Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Other
2.02k stars 540 forks source link

Statistics collection and thread safety fixes for AZ::IO::DedicatedCache #507

Open dkondrashkin opened 4 years ago

dkondrashkin commented 4 years ago

More fixes for problems addressed by https://github.com/aws/lumberyard/pull/494

While previous pull request fixed most of the issues the one remained:

The solution proposed (apart form guarding internal data members with locks) is to postpone removal of m_cachedStatNames entries until the very beginning of the next DedicatedCache::CollectStatistics() call.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AMZN-alexpete commented 4 years ago

Thanks for submitting these additional fixes @dkondrashkin, we're looking over the change and will update this PR with status changes or questions.