This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Interface method calls are slow.
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Interface method calls are slow.
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Tue, 16 Nov 1999 20:27:45 -0800 (PST)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <38322987.9D1D641D@albatross.co.nz>
>>>>> "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