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: options for compiling large jars


>>>>> "Per" == Per Bothner <per@bothner.com> writes:

Per> What are the recommended options for compiling large jars?
Per>  From what I can tell of Red Har's aot-compile script it
Per> appears to compile a .jar file without optimization.

The script we use when making RPMs (I forget if it is aot-compile or
aot-compile-rpm, I think the name changed or something) will split up
large jars and compile them piecemeal.  We had to do this not only
because large jars make gcj use too much memory, but also due to GOT
overflows on PPC.

I think the script we use also omits non-.class files when compiling.
If you're deploying using the class map .db then you need the jars
around anyhow, and resources compiled into a .so will just waste space
and not be used.

Tom


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