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

        C# GC for Server(用于服务器的 C# GC)

        • <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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)

                      <tbody id='KpxDj'></tbody>
                    <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'>