forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unloadability support to ReliabilityFramework (dotnet#20418)
* Add unloadability support to ReliabilityFramework This change adds support for unloadable AssemblyLoadContext to the GC ReliabilityFramework. It basically mimics what was there ifdef-ed out for AppDomains. It allows stress testing GC when running inside of an unloadable AssemblyLoadContext. GC has some special handling for collectible classes and this allows testing the respective code paths. * Make tests run on separate threads The tests running in the assembly load context were bot using separate threads per test and so they were not really stressing GC as much as possible. This change fixes that. I've also merged code for AppDomains / AssemblyLoadContext at most places so that the differences are clearly visible.
- Loading branch information
Showing
6 changed files
with
566 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.