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

Using -XX:+UseBiasedLocking causes some JCK /api/java_nio tests to fail

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      My results can be found here:

      http://jqa.ireland/results/1.5.0_08/Build03/jck/runtime/winXp64BiasedLocking/

      I have attached my JTR files for more information.

      These tests only fail on Windows X64 using the 64 bit jdk and only when the -XX:+UseBiasedLocking flag is used. They pass when this flag is not used. The failure also occurs on 5.0FCS, 5.0u8b01 as well as 5.0u8B03.

      Here is an example of the errors I am getting:

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000839e6ce, pid=2620, tid=2924
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_08-b03 mixed mode)
      # Problematic frame:
      # V [jvm.dll+0x39e6ce]
      #
      # An error report file with more information is saved as hs_err_pid2620.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      result: Failed. unexpected exit code: exit code 1


      test result: Failed. unexpected exit code: exit code 1

      Our test suite is located here /net/carlow.ireland/export/home4/jck/JCK-runtime-15a .

      To run the test suite you need to do the following first map Z: to \\carlow\home4 (or your local equivalent). Then copy the following file from Z:\jck\utils\tigerTaskFiles\windows\runtime (or your local equivalent). Once you have this file change the following:
      PRODUCT=you local 5.0u8b03 jdk
      TEST_SUITE= to your local test suite if you are not using the Irish one
      WORK_DIRECTORY= to your work directory
      OPTIONS=-XX:+UseBiasedLocking

      Once you have done this use the following command java -cp Z:/jck/transition/autotest.m/autotest.jar autotest.mini.TestRun -t runtime
      then run the run.sh script this creates in the same folders.

      When Java test loads click on configre and the click on load and then click on jck.jti to load it. Check your interview options to make sure that "Multijvm" is set to yes.

      Wait for all Javatest to load all 34000 tests then run the /api/java_nio tests by working you way down to it via the file tree and right clicking and then clicking run and you will see the failures.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: