This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj for j2me
- From: Joel Dice <joel dot dice at gmail dot com>
- To: Monty Hall <hall_monty at rastar dot merseine dot nu>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 21 Apr 2010 16:10:51 -0600 (MDT)
- Subject: Re: gcj for j2me
- References: <4BCF731A.8080007@rastar.merseine.nu>
On Wed, 21 Apr 2010, Monty Hall wrote:
Anybody had success compiling j2me code w/ gcj? I've noticed that javac
doesn't do a stellar job doing compile time optimization and that very
limited mobile device jvm's pretty much don't do optimization. Would be
handy to do compile time optimizations for mobile devices. Any pointers
appreciated.
ProGuard (http://proguard.sourceforge.net) does static bytecode
optimization, including some pretty impressive whole-program optimizations
like devirtualization and inlining across interface calls. That might be
the easiest solution if your target device already has a VM.