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

HS1.3.1(x86) inlines strictfp method into default-FP context

XMLWordPrintable

    • ladybird
    • x86
    • solaris_8
    • Verified



      Name: elC94547 Date: 09/28/2000



      Java 2 SDK 1.3.1-b1 (solx86) fails the testbase_nsk test:
          nsk/stress/jck122/b4303155
      which stresses-out the JCK 1.2.2 tests:
          lang/FP/fpl007/fpl00702m1/fpl00702m1.html
          lang/FP/fpl007/fpl00702m1/fpl00702m2.html
      by executing the JCK test several times on the same JVM.

      The tests fpl00702m1 and fpl00702m2 are intended to provoke
      inlining of "strictfp" method into default-FP context.
      If such inlining happens, calculations are erroneously
      performed in default FP mode instead of "strictfp" mode.

      The new HS 1.3.1 (solx86) failure looks like a regression of the
      known HS 1.3 (win32) bug:
          4303155 (P3/S4) inlining of FP-strict method into FP-wide expression

      To reproduce this failure, please try the test nsk/stress/jck122/b4303155
      found below the 'src' directory in the testbase:
          /net/sqesvr/export/vsn/VM/testbase/testbase_nsk

      Here is the script to start this test:
          TEST_NAME=b4303155
          JCK122_LANG=/usr/local/java/jck1.2.2/JCK-runtime-lang-122
          JAVA_HOME=/usr/local/java/jdk1.3.1/x86
          export JAVA_HOME
          CLASSPATH=.:${JCK122_LANG}/classes
          export CLASSPATH
          ${JAVA_HOME}/bin/java -version
          ${JAVA_HOME}/bin/javac ${TEST_NAME}.java
          ${JAVA_HOME}/bin/java ${TEST_NAME}
          echo $?

      ======================================================================

            elatkinsunw Eugene Latkin (Inactive)
            elatkinsunw Eugene Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: