- Disabled one test, it takes far too long under GCStress
- For another, added a second call to WaitForPendingFinalizers() to ensure correspondence with a GC.Collect() call
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestKind>BuildAndRun</CLRTestKind>
<CLRTestPriority>1</CLRTestPriority>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
<Compile Include="SlowTailCallArgs.cs" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project>
\ No newline at end of file
+</Project>
// which nodes were collected).
GC.Collect();
GC.WaitForPendingFinalizers();
+ GC.WaitForPendingFinalizers(); // the above call may correspond to a GC prior to the Collect above, call it again
// Calculate our own view of which nodes should be alive or dead. Use a simple mark array for this.
// Once the algorithm is complete a true value at a given index in the array indicates a node that