GC相关术语
Compaction – The garbage collection phase that defragments the heap, moves objects in
memory, remaps all affected references and frees contiguous memory regions.
Concurrent – A type of garbage collection algorithm that where GC is done while the application
is running.
Copying – A garbage collector that copies that performs mark/sweep/compact all at once by
copying live objects to a new area in memory.
Dead object – An object that is no longer being referenced by the application.
GC safepoint - A point or range in a thread’s execution where the collector can identify all the
references in the thread’s execution stack.
Generational – Objects in memory are split between a young generation and old generation and
garbage collected separately.
Incremental – Garbage collects only a portion of the heap at a time.
Live object – One that is still being referenced by the applicati
G1 算法论文
最新推荐文章于 2024-01-23 17:06:44 发布
本文详细介绍了GC相关的术语,如压缩、并发和复制算法。讲解了G1垃圾收集器的数据结构,包括堆布局、分配机制、Remembered Set以及暂停处理。讨论了Remembered Set如何跟踪活动对象,以及并发处理和写屏障的作用。同时阐述了如何处理热点card和暂停策略。
摘要由CSDN通过智能技术生成