ARM support

Andrew Haley aph@redhat.com
Sun Jun 29 10:28:00 GMT 2003


Geert Bevin writes:
 > > *shrug* because I misremembered, or libgcj has grown considerably since I
 > > last tried it (at least java.nio is new)?
 > 
 > Ok, fair enough :-)
 > 
 > > $ size hello
 > > text data bss dec hex filename
 > > 1841772 602412 111332 2555516 26fe7c hello
 > > 
 > > $ nm hello | grep 'class\$E$' | wc -l
 > > 602
 > > 
 > > Wow... 602 classes linked into such a small program.
 > 
 > It is mindblowing indeed ! The evident question I then get from someone
 > that has severe space limitations is : why does such a small program
 > need to have all these classes linked in. I would answer ... since much
 > of it is looked up with reflection. However you said reflection is
 > disabled, so now I'm confused :-/
If you do the final link with -Wl,Map,map you'll get a mapfile which
explains exactly why each file has been linked.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /