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

Code is compiled when interpreter is specified for iterations > 32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • vm-legacy
    • None

      The attached test program will demonstrate that even though "Djava.compiler=none" is specified, the code is compiled when the test program is iterated over 32 times. The test program is a JCK test case, which is called by a wrapper 'StressJCK'.
      Requirements: Classpath should be set to include JavaTest libraries,StressJCK tool,Tonga JCK libraries.
      Steps:
      -----
      1. Unzip the attached StressJCK.zip

      case 1: (fails):
         - set java_compcmd=force_signon
         - java -Djava.compiler=none StressJCK -inifile StressJCK.ini -iteration 40
      case 2: (fails)
         - set java_compcmd=force_signon;f
         - java StressJCK -inifile StressJCK.ini -iteration 40
      case 3: (passes)
         - set java_compcmd=force_signon
         - java -Djava.compiler=none StressJCK -inifile StressJCK.ini -iteration 32
         - java StressJCK -inifile StressJCK.ini -iteration 32
      case 4: (passes):
         - set java_compcmd=disable
         - java StressJCK -inifile StressJCK.ini -iteration 40

            dviswanasunw Deepa Viswanathan (Inactive)
            vvenkatrsunw Vanitha Venkatraman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: