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

libsunwjit.so Missing from JDK/JRE 1.2.2 Distributions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.2_012
    • 1.2.2
    • docs
    • 012
    • sparc
    • solaris_7
    • Verified



      Name: gm110360 Date: 10/17/2001


      /usr/jdk1.2.2_05/bin: ./java -version
      java version "1.2.2"
      Solaris VM (build Solaris_JDK_1.2.2_05, native threads, sunwjit)

      The SDK tool documentation for the Java application launcher states (in the JIT
      section) that "the default behavior of the launcher is to execute bytecodes
      using a Just-in-Time compiler, or JIT. The default compiler is located at
      jre/lib/sparc/libsunwjit.so".

      However the JDK/JRE 1.2.2 distributions do not include that file in that
      directory. Either the documentation is wrong, or the distributions are
      incomplete.

      The output of "java -version" indicates that the launcher uses the sunwjit by
      default. But the SDK tool documentation states (in the JIT section) that "if
      no such compiler is found, the virtual machine will default to using the
      interpreter".

      So, if the libsunwjit.so file is not found in jre/lib/sparc, does the VM
      default to interpreting bytecodes? Or is the SUNW JIT compiler code located in
      some other .so file, contrary to the documentation?

      We would like to ensure that we are using a JIT, in avail ourselves of the
      advertised performance benefits of doing so (from the tool
      documentation: "Using a JIT causes a slight delay after each class load, but
      can improve overall program performance. In some cases, execution time will
      improve by a factor of ten.")
      (Review ID: 133943)
      ======================================================================

            jgraysunw Joann Gray (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: