RFC: Change C++ ABI so that interface dispatch does not depend on reflection.
David Daney
ddaney@avtrex.com
Tue Jan 31 20:25:00 GMT 2006
David Daney wrote:
> Since the String table (for the <clinit> name) is shared the only real
> overhead is a single entry in the method reflection table (12 bytes on a
> 32 bit architecture) If the class object had a pointer this would be 4
> bytes. So that would be only 8 bytes of saving, but the class
> initialization time would be faster as you would not have to do a lookup
> in the method table.
>
That is not correct. I think the actual size of the method reflection
entries is 20 bytes each.
David Daney.
More information about the Java
mailing list