Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的基于 .net 的应用程序在四核机器上运行,但是当我运行 !eeheap -gc 命令时它显示
GC 堆数:1
这是否意味着我的应用程序没有使用所有 4 个处理器?知道为什么会发生这种情况以及如何改变这种行为吗?
您必须启用 Server GC 才能拥有多个堆
gc服务器
<Configuration> <runtime> <gcServer enabled=“true“ /> </runtime> </Configuration>