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
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 08 Sep 2004 15:48:12 -0400
- Subject: Re: PR java/12760 [BC ABI] Re-enable fast interface dispatch
- References: <16703.19056.666730.717325@cuddles.cambridge.redhat.com>
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?
Regards
Bryce