1、 gcc 上关于在共享内存中使用 stl 容器中对象的讨论。
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21251
2、http://sourceforge.net/projects/allocator/
3、OSSP mm
http://www.ossp.org/pkg/lib/mm/
据其介绍,只能用于 fork 的进程之间。
以下引用 ossp mm 的内容:OSSP mm is a 2-layer abstraction library which simplifies the usage of shared memory between forked (and this way strongly related) processes under Unix platforms.
盖因 fork 的进程,其虚表在内存中的地址相同。(嵌在了 .text 段)。于是,猜想可能这个库实现了虚对象在共享内存中的放置。
3、http://www.boost.org/doc/libs/1_38_0/libs/pool/doc/interfaces.html
http://sourceforge.net/projects/allocator/
http://www.boost.org/doc/libs/1_38_0/libs/pool/doc/index.html