Sun JDK 1.4 vs 1.3 Compiler

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Lambert

    #1

    Sun JDK 1.4 vs 1.3 Compiler

    Is there any bytecode advantage to using the Sun 1.4 compiler vs the 1.3
    compiler (on Windows).

    Does the 1.4 compiler produce better and/or faster bytecode than the 1.3
    compiler?

    In other words, is there any advantage to compiling code that was developed
    against JDK 1.3 and compiling with the 1.4 compiler?

    Thanks very much for feedback.


  • Philip Rynes

    #2
    Re: Sun JDK 1.4 vs 1.3 Compiler

    if you want others to run on iMAC the iMAC only has 1.3 i think

    "Tim Lambert" <timlambert @ mindspring . com> wrote in message news:Eq_Ja.9558 $e26.8291@rwcrn sc52.ops.asp.at t.net...[color=blue]
    > Is there any bytecode advantage to using the Sun 1.4 compiler vs the 1.3
    > compiler (on Windows).
    >
    > Does the 1.4 compiler produce better and/or faster bytecode than the 1.3
    > compiler?
    >
    > In other words, is there any advantage to compiling code that was developed
    > against JDK 1.3 and compiling with the 1.4 compiler?
    >
    > Thanks very much for feedback.
    >
    >[/color]

    Comment

    • Eugenio Alvarez

      #3
      Re: Sun JDK 1.4 vs 1.3 Compiler

      Tim,
      I don't know if there are any advantages by compiling with 1.4.
      However, I do know one big disadvantage. I believe the 1.4 compiler is
      the first a in a long while to not generate backward compatible
      byte-code by default. So, probably an large program will not work with
      any prior release.
      HTH,
      Eugenio Alvarez

      Comment

      • Tim Lambert

        #4
        Re: Sun JDK 1.4 vs 1.3 Compiler

        Even targeting 1.2, I experience an unexplainable
        IllegalMonitorS tateException being thrown when running the Sun 1.2 VM for
        Windows with symcjit enabled (the default).

        I've seen other postings on the web of similar problems.

        Note that none of my code is invoking Object.wait, Object.notify, or any
        variant thereof.
        "Eugenio Alvarez" <alvareze@aol.c om> wrote in message
        news:b9061705.0 306251348.27ad2 d7@posting.goog le.com...[color=blue]
        > Tim,
        > I don't know if there are any advantages by compiling with 1.4.
        > However, I do know one big disadvantage. I believe the 1.4 compiler is
        > the first a in a long while to not generate backward compatible
        > byte-code by default. So, probably an large program will not work with
        > any prior release.
        > HTH,
        > Eugenio Alvarez[/color]


        Comment

        Working...