[Mono-devel-list] [PATCH] VTable layout
Ben Maurer
bmaurer at users.sourceforge.net
Sat Mar 20 17:19:21 EST 2004
Hello,
I sent this patch to the list a while ago, however now that we have done
a release, I thought it would be a good time to get this patch reviewed
and checked in, as it would maximize the amount of testing time before
another release.
This patch removes non-virtual and static methods from the vtable. It
reduced the vtable usage on mcs bootstrap by 2/3rds (the vtables are not
40 some kb, they were 120 some).
A changelog:
* class.c -- do not insert non-virtual methods in the vtable
* icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
that means the method is non-virtual. This never would have
happened before.
No regressions occur on the mini regression tests, the mono tests, nor
the corlib tests.
-- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata-small-vtable.patch
Type: text/x-patch
Size: 3811 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040320/d91fe102/attachment.bin
More information about the Mono-devel-list
mailing list