gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Integration with garbage collectors


From: Camm Maguire
Subject: [Gcl-devel] Integration with garbage collectors
Date: Thu, 26 Jun 2014 17:06:03 -0400

Greetings!  The docs indicate that GMP memory allocation functions might
be profitably integrated with garbage collectors for efficiency
purposes.  Is there a known example of gains achieved in this area?

I have attempted several ideas in GCL centered around caching
to-be-freed integers during garbage collection sweep for subsequent use
in the allocator.  The gc overhead might be worth it, but for the
additional cost that the allocator will allocate anyway if the cached
integer is too small, which is not rare in practice when simply using
the cache in a fifo manner.  Sorting and indexing by size is way too
expensive.

Take care,
-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]