[mono] Loader improvements: bundle optimization and logging (#40819)
authorRyan Lucia <rylucia@microsoft.com>
Mon, 17 Aug 2020 22:53:53 +0000 (18:53 -0400)
committerGitHub <noreply@github.com>
Mon, 17 Aug 2020 22:53:53 +0000 (18:53 -0400)
commit600eaa2a9a47042e5eb55d1b141a91de2d16946c
tree248aa8f52e38dbc98578f8f8efd8fac41c28459c
parent161f53c6175f6a0908f30d7df934eb8118f09598
[mono] Loader improvements: bundle optimization and logging (#40819)

* Delay bundle loading until after checking the ALC cache

This avoids having to create and destroy MonoImage objects over and over when looking for already-loaded assemblies, which should cut down on overall load time a bit.

* Improve loader algorithm logging
src/mono/mono/metadata/appdomain.c
src/mono/mono/metadata/assembly.c