New atom-GC implementation

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi,

Keri Harris has redesigned SWI-Prolog's atom-garbage collector. The new
code is now in the pl-devel.git repo. The old atom-gc used the
stop-the-world model, but this proved to be impossible to implement
reliably in Windows on multi-core hardware. The new atom-gc does not
stop other threads. This is a big advantage in itself. The price is that
it is now a _conservative_ garbage collector, which means it is not
guaranteed to collect all garbage atoms.

The new approach already reduces the impact of atom-gc and provides
opportunities for further improvements, notably for applications that
aim at real-time behavior.

Thanks, Keri!

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.