public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* gcj for j2me
@ 2010-04-21 21:50 Monty Hall
  2010-04-21 22:11 ` Joel Dice
  0 siblings, 1 reply; 2+ messages in thread
From: Monty Hall @ 2010-04-21 21:50 UTC (permalink / raw)
  To: java

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.

Monty

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcj for j2me
  2010-04-21 21:50 gcj for j2me Monty Hall
@ 2010-04-21 22:11 ` Joel Dice
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Dice @ 2010-04-21 22:11 UTC (permalink / raw)
  To: Monty Hall; +Cc: java

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-21 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-21 21:50 gcj for j2me Monty Hall
2010-04-21 22:11 ` Joel Dice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).