[loader] When loading the parent of a GTD fails. We must disable gclass recording...
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 22 Feb 2017 22:24:28 +0000 (14:24 -0800)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 22 Feb 2017 22:24:28 +0000 (14:24 -0800)
commitef88a33d1c36393dc79c4cbc72a51d1f5ab0d6a7
tree24b0713a2e8678883ca3c7654f12f24d4f1d66e4
parentf18e9a35e7b996dd03219183a97e542c31eb39a1
[loader] When loading the parent of a GTD fails. We must disable gclass recording for it.

mono_class_create_from_typedef: When loading a GTD, we track what ginsts' of it were loaded in the meanwhile
so we can fix some information that will be wrong (such as if it's a VT or not).

Were not stopping the recording when a GTD type failed to load its parent. This would result in *A LOT* of ginsts
being captured and would cause issues during domain unload.
mono/metadata/class.c