[Mono-bugs] [Bug 670791] Fast path for lock() needed in the 4.0 profile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 9 22:37:08 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=670791

https://bugzilla.novell.com/show_bug.cgi?id=670791#c2


--- Comment #2 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2011-02-10 03:37:07 UTC ---
Whenever there is a lock (blah) {} block.
Before 4.0, that was translated to:
      Monitor.Enter (blah) try { } finally {Monitor.Exit (blah);} (or similar).

In 4.0 it is something like:
      try { Monitor.Enter (blah, out _bool); } finally { if (_bool)
Monitor.Exit (blah); }

In this last case, the runtime does not generate a fast enter method.

-- 
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