This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: trimming libgcj symbol exports
- From: Anthony Green <green at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 03 Aug 2005 09:20:40 -0700
- Subject: Re: trimming libgcj symbol exports
- References: <1122654609.2972.56.camel@to-dhcp6.toronto.redhat.com> <42F0E212.4030107@redhat.com>
On Wed, 2005-08-03 at 11:26 -0400, Bryce McKinlay wrote:
> I havn't tried ld scripts, but removing the public symbols should reduce
> the (stripped) binary size considerably and would probably speed up
> loading due to less time spent in the dynamic linker. I would suspect
> that symbols exported by boehm-gc, libffi, etc would be pretty
> insignificant compared to those generated by GCJ for compiled Java code,
> however.
If you include the private gnu.* packages it's about 1/3 of all exported
symbols (15k out of 45k).
AG