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

No way to disable JIT via JNI

XMLWordPrintable



      Name: tb29552 Date: 05/16/98


      There seems to be no way to disable the JIT via an
      an instantiation of the VM via JNI. There are fields
      in the JDK1_1InitArgs structure that map to the
      various command-line arguments to java.exe. However,
      no field that maps to -nojit. In jdk1.1.5 it was
      possible to set the java.compiler property to either
      a JIT module or not set it at all and it was turned
      off by default. In jdk 1.1.6, it is always turned on
      and there is no intuitive way to turn it off. I have
      tried the following:

      Define a property -nojit (from a doc on javasoft's site)
      Define a property java.compiler= with no value.
      define a property java.compiler=nojit.

      Various documents onSun's site andJavaSoft have
      vaguely implied that some combination of the above
      will work but I have tried every possible permutation
      with no luck.
      (Review ID: 30491)
      ======================================================================

            dviswanasunw Deepa Viswanathan (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: