[Mono-bugs] [Bug 55749][Maj] Changed - Another deadlock when running static constructors

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Mar 2004 08:02:51 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.


--- shadow/55749	2004-03-19 08:29:15.000000000 -0500
+++ shadow/55749.tmp.1818	2004-03-22 08:02:51.000000000 -0500
@@ -112,6 +112,11 @@
 already did the job. This should get rid of deadlocks between managed
 and unmanaged locks.
 * I will add a per-class domain lock, to avoid multiple threads
 running the same class constructor.
 * I will implement the algorithm in the spec, so this should get rid
 of deadlocks between class constructors trying to execute each other.
+------- Additional Comments From lluis@ximian.com  2004-03-22 08:02 -------
+Created an attachment (id=7052)
+Proposed patch that removes the domain lock from mono_jit_compile_method_with_opt. Comments?