If all the objects in the managed heap survive a collection, then there is no need for memory compaction.
如果托管堆中的所有对象均未被回收,则不需要压缩内存。
The GC can only contract contiguous blocks of memory from the end of the heap, so a compaction might be required to contract the heap.
GC只能收缩从堆末尾开始的连续内存块,因此收缩堆可能需要进行压缩。
In a compaction phase, the objects that are on the heap are consolidated to allow any free memory to gather together and satisfy the current request.
在compaction阶段,heap上的对象会被整合以便将所有空闲空间收集起来满足当前的请求。
In a compaction phase, the objects that are on the heap are consolidated to allow any free memory to gather together and satisfy the current request.
在compaction阶段,heap上的对象会被整合以便将所有空闲空间收集起来满足当前的请求。
应用推荐