[Mono-devel-list] [PATCH] VTable layout
bmaurer at users.sourceforge.net
Sat Mar 20 17:19:21 EST 2004
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
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).
* 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
No regressions occur on the mini regression tests, the mono tests, nor
the corlib tests.
-------------- next part --------------
A non-text attachment was scrubbed...
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