PR java/12760 [BC ABI] Re-enable fast interface dispatch
Andrew Haley
aph@redhat.com
Fri Sep 10 14:09:00 GMT 2004
Bryce McKinlay writes:
> Andrew Haley wrote:
>
> >This allows BC-compiled programs to use fast interface dispatch, with
> >full binary compatibility. It uses two atable slots for each call,
> >one for the interface and one for the index. Runtime patch to follow.
> >
> >
> Cool, thanks for fixing that.
>
> >It's a little space inefficient in that it wastes a dummy symbol table
> >entry for each interface referenced. The problem here is that our
> >current symbol table design doesn't seem to have any way to indicate
> >whether we're looking for an interface or a class.
> >
> Perhaps we should make another table ("iotable" ?) for interface references?
We certainly could, but it would add another word to every class.
It's probably the right thing to do.
Andrew.
More information about the Java-patches
mailing list