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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/lockfree-malloc | 0.0.20120802_11 |
| DragonFly | devel/lockfree-malloc | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.0.20120802_11 | - | - | - |
| FreeBSD:14:quarterly | - | 0.0.20120802_11 | n/a | - | - |
| FreeBSD:15:latest | - | 0.0.20120802_11 | n/a | - | - |
| FreeBSD:15:quarterly | - | 0.0.20120802_11 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.0.20120802_11 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Install README |
- USES
- tar:bzip2
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lockfree-malloc-0.0.20120802.tar.bz2 | 41121 | 5b4ba8683fd0d02f1415d785d7fa04a41b1e3def8a1b690f434877d3931b16ea |
Master sites 1
- LOCAL/vg
Commit history 0
No commits in the history this site was built from.