guile-user
[Top][All Lists]
Advanced

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

Re: linking libguile to boehm gc?


From: Linas Vepstas
Subject: Re: linking libguile to boehm gc?
Date: Thu, 9 Apr 2009 16:06:44 -0500

2009/4/9 Linas Vepstas <address@hidden>:
> 2009/4/9 Ludovic Courtès <address@hidden>:
>> Linas Vepstas <address@hidden> writes:
>>
>>> FWIW, My app is getting GC-messier by the day.
>>> Someone recently added support for lua scripting
>>> via luabind; I assume luabind has a GC and it
>>> hopefully doesn't interfere with libguile. Next,
>>> there's talk of adding python support this summer,
>>> which implies a potential 3-way GC showdown.
>>> (slowdown?)
>>
>> Ouch, that's many GCs for a single program.  ;-)
>
> Yes, and the runtime size is in the 3-6 GB range,
> too, data crunching.
>
> So, one last stupid question, to further demonstrate
> my ignorance: if it so magically happened that all
> these different pieces all ran BDW-GC, would it
> magically happen that one pass of the GC would
> scavenge RAM for all of the different interpreters?

Never mind, stupid question.  I presume that guile
is only looking at the portions of the heap that it has
previously alloced (and the portions of the stack
demarcated by enter/leave_guile_mode)  So
there shouldn't be collision, nor slowdown.

--linas




reply via email to

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