Monthly Archives: August 2022

libkit: Using Packaged jemalloc Without Injection

Jemalloc is the memory allocation library used by FreeBSD. It has properties that make it desirable to use in Linux services, particularly it’s ability to reuse memory, preventing an ever growing memory footprint. Ruby uses jemalloc on Linux by injecting … Continue reading

Posted in c programming | Tagged , , , , , , | Leave a comment

sxe: Pluggable Memory Manager and Leaks Fixed

I just committed an update to sxe that points to the newest version of mak, which adds a convention that detects code that calls glibc memory allocation function (see Checking Coding Conventions in Perl), and replaces most calls to these … Continue reading

Posted in c programming | Tagged , , , | Leave a comment

Checking Coding Conventions in Perl

The mak build system, developed 20 years ago for the SXL2 project at Sophos, is an open source framework built with gmake and perl. One of the more interesting bits is the convention checker, which is written in perl. The … Continue reading

Posted in Uncategorized | 2 Comments