Re: How to generate optimized bytecode?

Discussion in 'Java' started by E.C. Bäck, Aug 28, 2003.

  1. E.C. Bäck

    E.C. Bäck Guest

    "Ahmed Moustafa" <> wrote in message
    news:r5c3b.6285$...
    > Hi All,
    >
    > Which Java compiler (and what compilation options) would generate
    > optimized bytecode?
    >
    > Thanks in advance!



    Doesn't "javac -O <source>.<java>" do it?
    --
    Elliott
     
    E.C. Bäck, Aug 28, 2003
    #1
    1. Advertising

  2. E.C. Bäck

    Roedy Green Guest

    On Fri, 29 Aug 2003 15:59:37 GMT, Neal Gafter <>
    wrote or quoted :

    >
    >No, -O is a noop to javac.


    and further the native compilers that eat byte code suggest you not
    use it least it confuse their idiom-recognizing algorithms.

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
     
    Roedy Green, Aug 29, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tulip

    area optimized port mapping

    tulip, Nov 3, 2004, in forum: VHDL
    Replies:
    1
    Views:
    487
    Nicolas Matringe
    Nov 3, 2004
  2. Replies:
    6
    Views:
    511
  3. Roedy Green
    Replies:
    2
    Views:
    340
    Roedy Green
    Aug 28, 2003
  4. Replies:
    4
    Views:
    304
  5. Hermann Lauer

    Optimized bytecode in exec statement

    Hermann Lauer, Feb 1, 2010, in forum: Python
    Replies:
    0
    Views:
    217
    Hermann Lauer
    Feb 1, 2010
Loading...

Share This Page