Stop storing the parsed RID fallback graph (#82811)
authorElinor Fung <elfung@microsoft.com>
Thu, 2 Mar 2023 19:21:16 +0000 (11:21 -0800)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2023 19:21:16 +0000 (11:21 -0800)
commitbc6c7339f9a45cfdf15a5a2e941b9b4694c75589
treea415ec27266badea02269db334415acfa3b11c69
parent4555a5efbb940361b92d34dae8f138c5bb53613e
Stop storing the parsed RID fallback graph (#82811)

After startup, we only need the RID fallback graph from the root framework for component dependency resolution (AssemblyDependencyResolver). This change stops storing that graph (which is decently large for portable linux) for all applications and switches to re-populating it on demand.

Removing this stored value also lines up with the plan to move to algorithmic RID selection rather than reading from the .deps.json.
src/installer/tests/HostActivation.Tests/StandaloneAppActivation.cs
src/native/corehost/hostpolicy/deps_format.cpp
src/native/corehost/hostpolicy/deps_format.h
src/native/corehost/hostpolicy/deps_resolver.h
src/native/corehost/hostpolicy/hostpolicy.cpp
src/native/corehost/hostpolicy/hostpolicy_context.cpp
src/native/corehost/hostpolicy/hostpolicy_context.h
src/native/corehost/hostpolicy/hostpolicy_init.h