[Mono-bugs] [Bug 539161] New: Generic performance issues.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 14 21:05:19 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=539161
Summary: Generic performance issues.
Classification: Mono
Product: Mono: Runtime
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: P5 - None
Component: generics
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: rkumpera at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
There are 2 issues with generics that causes the current implementation to
generate sub-optimal code.
First, .constrained callvirt on reference types we do an indirect load for no
good reason at all. We should make remove this indirection and remove
MONO_INST_INDIRECT from the var if possible.
Second, we need to intrinsify System.Activator::CreateInstance<!0> as this is
used for creating instances of generic params with the new () constraint. The
overhead of having this function as is is pretty big, specially for valuetypes
for which the empty ctor is just a bzero.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list