This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
These tests fail because of we are using conservative GC reporting currently. The tests expect the objects to be collected, but some conservative root keeps them alive.
I haven't spent much time investigating this since this is GC and I know nothing about GC. For the first test for example the output on CoreRT is:
On CoreCLR it is: