This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Interface method calls are slow.


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]