1. <tfoot id='1yfDJ'></tfoot>

        <bdo id='1yfDJ'></bdo><ul id='1yfDJ'></ul>

    2. <i id='1yfDJ'><tr id='1yfDJ'><dt id='1yfDJ'><q id='1yfDJ'><span id='1yfDJ'><b id='1yfDJ'><form id='1yfDJ'><ins id='1yfDJ'></ins><ul id='1yfDJ'></ul><sub id='1yfDJ'></sub></form><legend id='1yfDJ'></legend><bdo id='1yfDJ'><pre id='1yfDJ'><center id='1yfDJ'></center></pre></bdo></b><th id='1yfDJ'></th></span></q></dt></tr></i><div id='1yfDJ'><tfoot id='1yfDJ'></tfoot><dl id='1yfDJ'><fieldset id='1yfDJ'></fieldset></dl></div>

        <legend id='1yfDJ'><style id='1yfDJ'><dir id='1yfDJ'><q id='1yfDJ'></q></dir></style></legend>

      1. <small id='1yfDJ'></small><noframes id='1yfDJ'>

      2. 用于服务器的 C# GC

        时间:2023-10-07

        • <i id='t4bu4'><tr id='t4bu4'><dt id='t4bu4'><q id='t4bu4'><span id='t4bu4'><b id='t4bu4'><form id='t4bu4'><ins id='t4bu4'></ins><ul id='t4bu4'></ul><sub id='t4bu4'></sub></form><legend id='t4bu4'></legend><bdo id='t4bu4'><pre id='t4bu4'><center id='t4bu4'></center></pre></bdo></b><th id='t4bu4'></th></span></q></dt></tr></i><div id='t4bu4'><tfoot id='t4bu4'></tfoot><dl id='t4bu4'><fieldset id='t4bu4'></fieldset></dl></div>

          1. <legend id='t4bu4'><style id='t4bu4'><dir id='t4bu4'><q id='t4bu4'></q></dir></style></legend>

                  <tbody id='t4bu4'></tbody>

                <tfoot id='t4bu4'></tfoot>
                  <bdo id='t4bu4'></bdo><ul id='t4bu4'></ul>

                • <small id='t4bu4'></small><noframes id='t4bu4'>

                  本文介绍了用于服务器的 C# GC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  .Net 4.0 中是否提供服务器 GC(配置中的 gcServer 标志)?还是被弃用了?

                  Is Server GC (gcServer flag in configuration) available in .Net 4.0? Or it was deprecated?

                  谢谢!!!

                  推荐答案

                  是的,它(仍然可用).不,它不是(已弃用).

                  Yes, it's (still available). No, it isn't (deprecated).

                  为什么要问这个问题?

                  论点的链接 http://architecturebyashwani.blogspot.com/2010/02/foreground-gc-and-background-gc.html

                  4.0甚至还有新的GC(工作站模式的后台),所以最后是3个GC;服务器,工作站并发开启,工作站并发关闭.

                  There is even a new GC (background for workstation mode) in 4.0, so in the end there are three GC; server, workstation concurrent on, workstation concurrent off.

                  web.config/app.config的三个设置是:

                  <configuration> 
                      <runtime> 
                          <gcConcurrent enabled="false"/> 
                  <!-- or -->
                          <gcConcurrent enabled="true"/> 
                  <!-- or -->
                          <gcServer enabled="true"/> 
                      </runtime> 
                  </configuration> 
                  

                  这三个是排他的".您一次只能启用一个选项:-)

                  The three or are "exclusive". You can enable only ONE option at a time :-)

                  这篇关于用于服务器的 C# GC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:限制 C# 应用程序中托管堆的大小 下一篇:在 C# 中延迟任务 - 数据库上下文已处置

                  相关文章

                • <i id='KpxDj'><tr id='KpxDj'><dt id='KpxDj'><q id='KpxDj'><span id='KpxDj'><b id='KpxDj'><form id='KpxDj'><ins id='KpxDj'></ins><ul id='KpxDj'></ul><sub id='KpxDj'></sub></form><legend id='KpxDj'></legend><bdo id='KpxDj'><pre id='KpxDj'><center id='KpxDj'></center></pre></bdo></b><th id='KpxDj'></th></span></q></dt></tr></i><div id='KpxDj'><tfoot id='KpxDj'></tfoot><dl id='KpxDj'><fieldset id='KpxDj'></fieldset></dl></div>

                  1. <legend id='KpxDj'><style id='KpxDj'><dir id='KpxDj'><q id='KpxDj'></q></dir></style></legend>
                  2. <tfoot id='KpxDj'></tfoot>
                      • <bdo id='KpxDj'></bdo><ul id='KpxDj'></ul>

                      <small id='KpxDj'></small><noframes id='KpxDj'>