trimming libgcj symbol exports

Anthony Green green@redhat.com
Wed Aug 3 16:22:00 GMT 2005


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




More information about the Java mailing list