[Mono-bugs] [Bug 473150] Yet another generics related deadlock

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 11:02:57 EST 2009


User mprobst at novell.com added comment

--- Comment #9 from Mark Probst <mprobst at novell.com>  2009-02-11 09:02:53 MST ---
Created an attachment (id=271939)
 --> (https://bugzilla.novell.com/attachment.cgi?id=271939)
Proposed patch.

A very ugly patch to handle this deadlock, but I don't see a reasonably simple
solution to the problem.  The issue is that we need the loader lock to allocate
the OTIs, which is a very short operation, but we need the templates lock for
much more complex stuff during which we allocate need to allocate OTIs.  So I'm
taking the loader lock prior to the templates lock, i.e. it's held for much
longer than what it's actually used for.  On the positive side all of this only
happens during JITting.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list