Doug Lee's dl malloc + mark/sweep functionality