[Mono-bugs] [Bug 524595] JIT produces very slow code if you use a temporary variable outside a try/catch block

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 28 23:37:13 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=524595

User miguel at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524595#c6


Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |miguel at novell.com




--- Comment #6 from Miguel de Icaza <miguel at novell.com>  2009-07-28 21:37:10 MDT ---
We agree that the JIT code generation could improve.

In your second sample, you could try:

mono -O=all test.exe

On my system (x86-64):
miguel at homelinux:~/downloads> mono -O=all test.exe 
Fast: 00:00:00.1231450
Slow: 00:00:00.1188620

The "checked" does introduce additional pressure that the JIT is unable to get
rid of.

On Java, how did you implement the "checked" support?

-- 
Configure bugmail: http://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