Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4054644

Solaris 2.6 JIT generates bad code from optimized java bytecodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 1.1.2
    • unknown
    • vm-legacy
    • jit
    • b01
    • sparc
    • solaris_2.6
    • Not verified

    Description

      Customer information follows:

      ****

      Particulars:

        * Solaris 2.6 beta
        * JDK 1.1.1 for Solaris 2.6

      Greetings:

      We're in the process of building a simulator for a network of our ATM
      switches. The project is 100% Java, and is approximately 20-25%
      complete. We have been developing under Solaris 2.5.1, using JDK
      release 1.1.1. The software runs properly on this platform as well as
      Linux 2.0.18 (JDK 1.1.1).

      Recently, we ported the Simulator to the Solaris 2.6 release of JDK
      1.1.1 to evaluate, in particular, its performance with the new Just In
      Time compiler.

      There appears to be a problem with the JIT-enabled VM. Our Simulator
      includes a TL1 language analyser generated using SunTest's JavaCC
      (both releases 0.6 and 0.7 beta have been used) Parser Generator. With
      optimization enabled during compliation, the JIT-enabled VM causes the
      parser to prematurely unwind from productions, resulting in
      unjustified parse errors.

      Running the Simulator under the 2.6 VM with JIT disabled produces
      correct results. Also, recompiling with optimization disabled and
      running the VM *with* the JIT activated produces correct results.

      It appears from my vantage point that the 2.6 JIT compiler is
      generating bad code from optimized Java bytecode.

      I will be happy to provide more information, including enough code to
      build an instance of our TL1 analyser (assuming non-disclosure), if
      requested. Thanks.

      ****

      Attachments

        Activity

          People

            dmcox David Cox (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: