Macaulay 2 uses the excellent garbage collector GC, version 6.0, written by Hans-J. Boehm and Alan J. Demers and generously licensed to the public. It is available at http://www.hpl.hp.com/personal/Hans_Boehm/gc/.
See also: