Skip to content

Automatic memory management

一、“automatic memory management”即“自动内存管理”

二、它的典型代表就是garbage collection

三、从control theory的角度来说,Automatic memory management属于implicit、automatic control

四、Automatic memory management是非常重要的技术,在多个领域中,都有着非常重要的运用:

1、lock-less data structure中,memory reclamation,可以看做是一种Automatic memory management。

2、可以使用Automatic memory management来解决multi-thread中,经常出现的dangling pointer问题,参见 Access-outside-of-object-lifetime\Multi-thread-and-observer-pattern 章节