<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-01-24 12:38:35 +0900 (Sat, 24 Jan 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941">04364b597a4d884bcf18d0b860aa9f0ccf540941</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add --with-jemalloc option to use jemalloc for malloc()/free()

It'll improve performance on multi-threading usage.</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#diff-0">configure.ac</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: configure.ac (+17 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L913">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L914">914</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L915">915</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L916">916</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L917">917</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L918">918</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L919">919</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1595">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1596">1596</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1597">1597</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1598">1598</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1599">1599</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1600">1600</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0L1601">1601</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R913">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R914">914</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R915">915</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R916">916</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R917">917</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R918">918</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R919">919</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R920">920</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R921">921</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R922">922</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R923">923</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R924">924</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R925">925</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R926">926</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R927">927</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R928">928</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R929">929</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R930">930</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R931">931</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R932">932</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R933">933</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R934">934</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R935">935</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1611">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1612">1612</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1613">1613</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1614">1614</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1615">1615</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1616">1616</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1617">1617</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/04364b597a4d884bcf18d0b860aa9f0ccf540941#L0R1618">1618</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -914,6 +914,22 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if test &quot;x$with_lz4&quot; != &quot;xno&quot;; then</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# jemalloc</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+AC_ARG_WITH(jemalloc,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  [AS_HELP_STRING([--with-jemalloc],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    [Use jemalloc for memory allocation. [default=no]])],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  [with_jemalloc=&quot;$withval&quot;],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  [with_jemalloc=&quot;no&quot;])</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+jemalloc_available=&quot;no&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+if test &quot;x$with_jemalloc&quot; != &quot;xno&quot;; then</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if test &quot;x$with_jemalloc&quot; != &quot;xyes&quot;; then</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    LDFLAGS=&quot;-L$with_jemalloc $LDFLAGS&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  fi</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  AC_SEARCH_LIBS(mallocx, jemalloc,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                 [jemalloc_available=&quot;yes&quot;],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                 [AC_MSG_ERROR(&quot;No libjemalloc found&quot;)])</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+fi</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # MeCab</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # NOTE: MUST be checked last</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_ARG_WITH(mecab,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1596,6 +1612,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if test &quot;x$message_pack_available&quot; = &quot;xyes&quot;; then</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   echo &quot;    LIBS:                ${MESSAGE_PACK_LIBS}&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> fi</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> echo &quot;  mruby:                 $enable_mruby&quot;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+echo &quot;  jemalloc:              $jemalloc_available&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> echo</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> echo &quot;groonga-httpd:&quot;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>