Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2015 13:58:49 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        gecko@FreeBSD.org
Cc:        beat@FreeBSD.org, flo@FreeBSD.org
Subject:   Why use jemalloc bundled with Mozilla?
Message-ID:  <55918759.5060404@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help

The system malloc on FreeBSD-10.x is jemalloc-3.4.x. Why do Mozilla ports build
with "--enable-jemalloc" turned on despite that?

Is it just a typo in bsd.gecko.mk and the fix as simple as:

    --- /usr/ports/Mk/bsd.gecko.mk  (revision 390575)
    +++ /usr/ports/Mk/bsd.gecko.mk  (working copy)
    @@ -130,7 +130,7 @@
     
     # use jemalloc 3.0.0 API for stats/tuning
     MOZ_EXPORT+=   MOZ_JEMALLOC3=1
    -.if ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37
    +.if ${OSVERSION} < 1000012 && ${MOZILLA_VER:R:R} >= 37
     MOZ_OPTIONS+=  --enable-jemalloc
     .endif
     

or is there more to it? Thanks! Yours,

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55918759.5060404>