タグ

ブックマーク / goog-perftools.sourceforge.net (1)

  • TCMalloc : Thread-Caching Malloc

    Sanjay Ghemawat, Paul Menage <opensource@google.com> Motivation TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a 2.8 GHz P4 (for small objects). The TCMalloc implementation takes approximately 50 nanoseconds for the same operation pai

    todesking
    todesking 2009/01/28
    google,Thread Caching Malloc,しくみ。小オブジェクトはThread cacheから取得してロックフリー、Thread cacheは中央ヒープにガベコレる
  • 1