guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Revise GC asserts.


From: Han-Wen Nienhuys
Subject: Re: [PATCH] Revise GC asserts.
Date: Thu, 11 Sep 2008 12:14:32 -0300
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Ludovic Courtès escreveu:
>> * libguile/private-gc.h (nil): introduce scm_i_last_marked_cell_count,
>>   as a private mechanism for maintaining cell counts.  Previous
>>   versions incremented scm_cells_allocated in an inlined function, so
>>   loading dynamic objects of older GUILEs would break invariants.
> 
> OTOH, if we are to change the way `scm_cells_allocated' is used and
> don't want older code to interfere with that, it's safe the break the
> ABI here (we're on `master' after all).

If this is our stance, this looks like a good opportunity to take all
these variable private, and have people use gc-stats to get the data.

Providing direct access to variables is problematic from an API stability
point of view.

-- 
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen





reply via email to

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