How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
(→‎The pool manager: some feedback based on the latest arena developments at github: https://github.com/chrisforbes/incgc)
Line 451: Line 451:
This also means that we basically just need to provide an alternate naGC_get() function, next to the existing one, to add support for alternate GC schemes.
This also means that we basically just need to provide an alternate naGC_get() function, next to the existing one, to add support for alternate GC schemes.


= Supporting additional GC implementations ==
= Supporting additional GC implementations =
It would probably make sense to change the pool manager interface/signature such that additional implementations can be easily provided and registered, so that merely a GC_CALLBACK pointer must be set during initialization in order to use a different GC scheme:
It would probably make sense to change the pool manager interface/signature such that additional implementations can be easily provided and registered, so that merely a GC_CALLBACK pointer must be set during initialization in order to use a different GC scheme:


Navigation menu