.NET Garbage Collection配置在.net core的写法

.net franework
<configuration> <runtime> <gcServer enabled="true"/> <gcConcurrent enabled="true"/> </runtime> </configuration>

 

 

.netcore
// .csproj <PropertyGroup> <ServerGarbageCollection>true</ServerGarbageCollection> <ConcurrentGarbageCollection>true</ConcurrentGarbageCollection> </PropertyGroup>
posted @ 2018-01-09 13:42  wintersoft  阅读(300)  评论(0编辑  收藏  举报