summaryrefslogtreecommitdiff
path: root/src/vm/contractimpl.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-23Remove all traces of FEATURE_STACK_PROBE. (#22149)Filip Navara1-3/+0
2019-01-11Add cleanup of the TypeIDMap at unload time (#21943)Jan Vorlicek1-0/+35
The TypeIDMap is stored in the AppDomain and contains two hash maps - id to MethodTable and MethodTable to id. We were missing removing entries for MethodTables that belong to a LoaderAllocator that's being destroyed. Thus we were leaking some memory, but also causing potential issue. When at some point after the LoaderAllocator destruction a MethodTable gets the same address as one of the MethodTables that was destroyed in the past and was also recorded in the TypeIDMap, we would incorrectly reuse the id. That is problematic in case the old MethodTable didn't require fat id and the new does or vice versa. I've hit assert due to that while running System.Numerics.Vectors.Tests inside an unloadable AssemblyLoadContext. The implementation of the fix is very primitive. It is expected that we will be able to get rid of the TypeIDMap in a near future and so it is not worth optimizing.
2016-01-27Update license headersdotnet-bot1-4/+3
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+716
[tfs-changeset: 1407945]