[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: |
Thu, 16 Feb 2012 23:27:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Thu 16 Feb 2012 22:30, address@hidden (Ludovic Courtès) writes:
> Can you explain what happens here? Is it a deadlock? What’s at
> ports.c:575?
It was a deadlock, but I fixed it. It was something that locked all
weak sets, but while doing so allocated memory. Allocating memory ran
finalizers which tried to manipulate the port set, but that lock was
already taken: deadlock.
The solution will be to run finalizers in a separate thread, as the JVM
does.
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 <=
- 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, 2012/02/17
- 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