The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)
cd Ports/bdwgc
./package.sh
Testing
To run the included tests on Serenity, append these lines to the package.sh:
configopts+=(
'--enable-gc-debug'
)
post_install() {
run make check || true
run cp gctest "${SERENITY_INSTALL_ROOT}/home/anon"
}
then clean and install the port, run Serenity and execute ./gctest
Website: https://github.com/ivmai/bdwgc
Port: https://github.com/SerenityOS/serenity/tree/master/Ports/bdwgc
Dependencies: libatomic_ops 🖧
Dependents: guile