PGO: don't record info for collectible classes (#46611)
authorAndy Ayers <andya@microsoft.com>
Wed, 6 Jan 2021 19:04:38 +0000 (11:04 -0800)
committerGitHub <noreply@github.com>
Wed, 6 Jan 2021 19:04:38 +0000 (11:04 -0800)
commitae1f760dd839ff50e4310550687e8376efc63c08
treeaf3e2fb59902cb80404c4bbcf774daad9876aab6
parente3617eb4780a4c46f78f4c29b1c33056620b06c2
PGO: don't record info for collectible classes (#46611)

Map method tables for collectible classes to null so profile entries won't
hold onto pointers that can become invalid.

Record the nulls in the profiles so that collectible classes still impact the
profile stats.
src/coreclr/vm/jithelpers.cpp