This isn&#x27;t working with just any C or OS code. I&#x27;d assume that. It would take a modified or clean-slate runtime whose language can work with it. It might not tolerate virtualization, either. As I was heading for bed, I decided to at least Google to see if anyone did anything with FPGA&#x27;s and GC&#x27;s to not leave your head with nothing to think on tonight. ;) Here&#x27;s what I found:<p>FPGA-aware garbage collection in Java (2005)
<a href="https:&#x2F;&#x2F;buytaert.net&#x2F;files&#x2F;fpl05-paper.pdf" rel="nofollow">https:&#x2F;&#x2F;buytaert.net&#x2F;files&#x2F;fpl05-paper.pdf</a><p>(Modified Jikes VM to use FPGA coprocessor for collection. Result was good performance with around 2.32% overhead on memory-intensive benchmarks.)<p>Fine-Grained Parallel Compacting Garbage Collection through
Hardware-Supported Synchronization (2010)
<a href="http:&#x2F;&#x2F;www.ikr.uni-stuttgart.de&#x2F;Content&#x2F;Publications&#x2F;Archive&#x2F;Hv_GarbageCollection_40071.pdf" rel="nofollow">http:&#x2F;&#x2F;www.ikr.uni-stuttgart.de&#x2F;Content&#x2F;Publications&#x2F;Archive...</a><p>Stall-free, real-time collector for FPGA&#x27;s (2012)
<a href="http:&#x2F;&#x2F;researcher.watson.ibm.com&#x2F;researcher&#x2F;files&#x2F;us-bacon&#x2F;Bacon12StallFree.pdf" rel="nofollow">http:&#x2F;&#x2F;researcher.watson.ibm.com&#x2F;researcher&#x2F;files&#x2F;us-bacon&#x2F;B...</a><p>(This is on one chip with tiny resources for GC around 1% and 4-17% overhead.)<p>Maybe I can get something better for you after some rest. Note that my comment to the other person has more details of where I was going with this.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10150480" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10150480</a>