dotnet/runtime

Add triggering test for GC.AddMemoryPressure/GC.RemoveMemoryPressure

開放

#36,796 建立於 2020年5月21日

 (2 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-GC-coreclrhelp wantedincrease-code-coverage

倉庫指標

星標
 (17,886 顆星)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

The underlying GC.AddMemoryPressure/GC.RemoveMemoryPressure implementations were updated in https://github.com/dotnet/runtime/pull/36767. The existing testing was questionable already and does nothing for this other algorithm. Deferring adding equivalent testing for now since this code path is not new but has been around since .NET Framework.

https://github.com/dotnet/runtime/blob/4eaccd61b1a2a4b078140f8b36f2b45ab5980e8e/src/coreclr/tests/src/GC/API/GC/AddMemoryPressureTest.cs#L136-L159

/cc @VSadov

貢獻者指南