BSD Ports

devel/lockfree-malloc 0.0.20120802_11 FreeBSD

Scalable drop-in replacement for malloc/free

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL3
Categories
devel

Description

lockfree-malloc is a scalable drop-in replacement for malloc/free.

* It's thread-friendly. It supports a practically-unlimited number of concurrent threads, without locking or performance degradation. * It's efficient, especially in a multi-threaded environment. Compared to a stock libc allocator, we see a significant performance boost. * It does NOT fragment or leak memory, unlike a stock libc allocator. * It wastes less memory. For small objects (less than 8kb in size), the overhead is around 0 bytes. (!) * It is designed from the ground-up for 64-bit architectures. * It is elegant. The whole codebase is only around 800 lines of fairly clean C++. (!) * It fully stand-alone; it does not rely on pthreads or libc at runtime.

In the other systems

SystemPortVersion
FreeBSDdevel/lockfree-malloc0.0.20120802_11
DragonFlydevel/lockfree-malloc0.0.20120802_11

Install

Binary package:

pkg install lockfree-malloc

From the ports tree:

cd /usr/ports/devel/lockfree-malloc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lockfree-malloc>0:devel/lockfree-malloc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.0.20120802_11---
FreeBSD:14:quarterly-0.0.20120802_11n/a--
FreeBSD:15:latest-0.0.20120802_11n/a--
FreeBSD:15:quarterly-0.0.20120802_11n/an/an/a
FreeBSD:16:latest-0.0.20120802_11n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 8
Run dependencies 8

No port depends on this one.

Configuration

Options name: devel_lockfree-malloc

OptionDefaultDescription
DOCSoffInstall README
USES
tar:bzip2
Service scripts
none

Files

distinfo 1
FileSizeSHA256
lockfree-malloc-0.0.20120802.tar.bz2411215b4ba8683fd0d02f1415d785d7fa04a41b1e3def8a1b690f434877d3931b16ea
Master sites 1
  • LOCAL/vg

Commit history 0

No commits in the history this site was built from.