[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unordered finalization, SMOBs, finalizers, and mark functions
From: |
Andy Wingo |
Subject: |
Re: Unordered finalization, SMOBs, finalizers, and mark functions |
Date: |
Mon, 09 Mar 2015 22:05:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
On Wed 04 Mar 2015 11:10, address@hidden (Ludovic Courtès) writes:
> diff --git a/libguile/gc.c b/libguile/gc.c
> index 097cb3d..78999c2 100644
> --- a/libguile/gc.c
> +++ b/libguile/gc.c
> @@ -609,6 +609,7 @@ scm_storage_prehistory ()
> target_free_space_divisor = free_space_divisor;
> GC_set_free_space_divisor (free_space_divisor);
> GC_set_finalize_on_demand (1);
> + GC_set_java_finalization (1);
>
> GC_INIT ();
This is the wrong patch :) As you can see in scm_init_guardians() we
actually already call this, and the novelty would be to have not-java
finalization.
Andy
--
http://wingolog.org/