[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: allocation within critical sections
From: |
Andy Wingo |
Subject: |
Re: allocation within critical sections |
Date: |
Fri, 17 Feb 2012 16:20:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Fri 17 Feb 2012 11:32, Mike Gran <address@hidden> writes:
> - Since memory is low, it calls GC_invoke_finalizers
This doesn't necessarily occur when memory is low -- it occurs when
allocating new objects, and previously the collector decided that some
objects were finalizable. It doesn't indicate hard times for the GC.
> - which leads to a recursive mutex lock in scm_i_smob_apply_trampoline
Ooooh, good one. A bug in Guile, this one, and tricky to get around.
Of course, running finalizers in a separate thread will solve it.
Andy
--
http://wingolog.org/
- allocation within critical sections, Andy Wingo, 2012/02/09
- Re: allocation within critical sections, Andy Wingo, 2012/02/13
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/16
- Re: allocation within critical sections, Andy Wingo, 2012/02/16
- Re: allocation within critical sections, Mike Gran, 2012/02/16
- Re: allocation within critical sections, Andy Wingo, 2012/02/17
- Re: allocation within critical sections, Mike Gran, 2012/02/17
- Re: allocation within critical sections,
Andy Wingo <=
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/17
- Re: allocation within critical sections, Andy Wingo, 2012/02/19
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/19
- Re: allocation within critical sections, Andy Wingo, 2012/02/19
- Re: allocation within critical sections, Andy Wingo, 2012/02/24