JavaScript:SpiderMonkey:GC Futures: Difference between revisions

Jump to navigation Jump to search
Line 11: Line 11:
*** Compress flags to mark bit in bitmap?
*** Compress flags to mark bit in bitmap?
* Add new JNI-like (handles, "clothed" not "naked") global rooting API
* Add new JNI-like (handles, "clothed" not "naked") global rooting API
** But use C++ to best effect (auto storage class RAII helpers, templates)
* Make old JS global rooting API be #ifdef JS_NAKED_GC_ROOTS (enabled at first)
* Make old JS global rooting API be #ifdef JS_NAKED_GC_ROOTS (enabled at first)
* Convert mozilla-central to use new global rooting API
* Convert mozilla-central to use new global rooting API
Line 19: Line 20:
** New API for making MT-accessible objects
** New API for making MT-accessible objects
** Objects are ST-accessible only without new API usage
** Objects are ST-accessible only without new API usage
** Safest course for API: #ifdef JS_AUTO_MT_OBJECTS for existing API, new API entry points (C++ API, rather) for new ST vs. MT create-object methods
** Switch mozilla-central code over, turn off JS_AUTO_MT_OBJECTS
* Fast generational copying allocation and collection
* Fast generational copying allocation and collection
* Go to beach
* Go to beach
Confirmed users, Bureaucrats and Sysops emeriti
419

edits

Navigation menu