This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I can make your gcj-compiled binaries much smaller.


Brian Jones writes:
 > Andrew Haley <aph@redhat.com> writes:
 > 
 > > Static references are a preferred method, if only on efficiency
 > > grounds.
 > > 
 > >    static {
 > >       try {
 > > 	resourceBundleClass = Class.forName("java.util.ResourceBundle");
 > > 
 > > is harder to understand than a simple
 > > 
 > >   ResourceBundle.class
 > > 
 > > and I don't understand why you want to do make such a change.
 > 
 > The change should be temporary, just to workaround a problem currently
 > found in the IBM Jikes Research VM.

Right, I see.  That's the thing I'm looking at with static linkage in
gcj: a simple change like this one can break programs in unexpected
ways.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]