Created
May 31, 2014 10:22
-
-
Save zonomasa/a771e44ebd334fce0c6b to your computer and use it in GitHub Desktop.
jemalloc の有用なビルドオプション
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--enable-debug 不正なインプットや動作についてアサート機能を有効にする。 | |
--enable-prof ヒープ使用状況のプロファイリングとメモリリークの検出機能を有効にする。 | |
--disable-fill メモリ領域をゼロ/もしくは不正な値で埋める機能を無効にする。 | |
--enable-lazy-lock pthread_create() を検出し、アプリケーションがシングルスレッドのうちはロックを行わないようにする。 | |
--with-jemalloc-prefix=<prefix> 標準関数にprefixをつける。malloc() が<prefix>_malloc() のようになる。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment