managed heap corruption is a heap corruption that occurrs on the managed heaps.
托管堆损毁是一种发生在托管堆上的堆损毁。
the clr profiler enables you to view the managed heap of a process and investigate the behavior of the garbage collector.
利用clr探查器,可以查看进程的托管堆并调查垃圾回收器的行为。
a managed heap corruption occurrs if someone overwrites a piece of the managed heap that it wasn't allowed to.
向托管堆上覆写一块不允许写入的内存时,将发生托管堆损毁。
note that the managed heap is very efficient at allocating new objects, and the garbage collector is very efficient at collecting lots of small and short-lived objects.
请注意,托管堆在分配新对象方面非常有效,而垃圾回收器在收集大量生存期较短的小型对象方面非常有效。
the garbage collector then promotes these objects and considers this portion of the managed heap generation 1.
然后,垃圾回收器升级这些对象,并考虑第1级托管堆的这一部分。
if all the objects in the managed heap survive a collection, then there is no need for memory compaction.
如果托管堆中的所有对象均未被回收,则不需要压缩内存。
the garbage collector runs in its own thread to remove unused memory from your program. it also compacts the managed heap each time it runs.
垃圾收集器以自己的线程运行,从程序里移除未使用的内存,每次运行时也压缩托管堆。
the memory that is used by allocated objects on the managed heap surpasses an acceptable threshold.
所用内存分配的对象在托管堆上超过可接受的阈值。
each root either refers to an object on the managed heap or is set to null.
每个根或者引用托管堆中的对象,或者设置为空。
first, it is faster to compact the memory for a portion of the managed heap than for the entire managed heap.
首先,压缩托管堆的一部分内存要比压缩整个托管堆速度快。
after the garbage collector performs its first collection of generation 0 and promotes the reachable objects to generation 1, it considers the remainder of the managed heap generation 0.
this can get rid of the sawtooth pattern often seen for the managed heap size in .net-based applications, and reduces the time an application spends performing garbage collection.