This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PR java/12760 [BC ABI] Re-enable fast interface dispatch
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.