[Mono-dev] Simple method devirtualization patch

Rodrigo Kumpera kumpera at gmail.com
Fri May 25 17:33:13 EDT 2007


The following patch perform simple devirtualization based on the sealed flag
of methods and types.

The patch makes pystone 4% faster with IronPython 2.0 and 1% faster with
IronPython 1.0. It should improve other benchmarks as well, since it main
contribution is statically dispatching delegate.Invoke. To provide more
broad results a sse pass that perform type propagation is needed.

The only thing I'm not sure about this patch is if it should handle remoting
wrappers is some sort of way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070525/5483fa44/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devirt.patch
Type: application/octet-stream
Size: 1445 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070525/5483fa44/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devirtualization.cs
Type: application/octet-stream
Size: 3661 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070525/5483fa44/attachment-0001.obj 


More information about the Mono-devel-list mailing list