Interface method calls are slow.

Tom Tromey tromey@cygnus.com
Tue Nov 16 20:27:00 GMT 1999


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

Bryce> Why are interface calls so expensive compared to other calls in
Bryce> gcj? I remember that there was talk a while back about changing
Bryce> the way interface calls are compiled by gcj - were these change
Bryce> ever made?

These changes were never made.  Interface calls are known to be very
slow.  I agree these need to be sped up, but there's no time right
now.

Bryce> It also appears that the private method call is not being
Bryce> inlined. I thought that gcj was inlining private methods now?

I think this should work if the functions are "simple enough".
I didn't look at the source, so I don't know the details.

T


More information about the Java mailing list