These areas allow tasks to use memory without being required to block if the garbage collector needs to free memory in the heap.
如果垃圾收集器需要释放堆中的内存,则这些内存区域将允许任务使用内存而不需要中断任务。
2
A generational collector is free to use a different collection strategy for different generations and perform garbage collection on the generations separately.
分代收集器对不同的代可以自由使用不同的收集策略,对各代分别进行垃圾收集。
3
Thread IDs are reused often, so there could be a case where a thread died without releasing the slot, and comes up and allocates a new slot before garbage collector could free it.