GC API

From MozillaWiki
Revision as of 18:11, 28 March 2008 by Jorend (talk | contribs) (start taking notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is for notes regarding a generic conservative-GC API that we want to insert between {SpiderMonkey/Tamarin/XPCOM/other application code} and GC implementations (MMgc/jegc/spam/whatever).

Very preliminary.

jorendorff 11:11, 28 March 2008 (PDT)

API areas

  • Heap setup/teardown
  • Allocation
  • Write barrier
  • GC
  • Rooting
  • Synchronization/concurrency
  • Tracing (SpiderMonkey 1.8 JSAPI features need this)

And if we are so lucky as to live that long:

  • JIT (emitting a write barrier)