JDK-6448623 : Using -XX:+UseBiasedLocking causes some JCK /api/java_nio tests to fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0u8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-07-13
  • Updated: 2012-03-22
  • Resolved: 2006-09-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u10Resolved
Related Reports
Duplicate :  
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.

Comments
EVALUATION Investigation has revealed that this is the same problem as 6434117, fixed in 5.0u9. Closing as a duplicate.
02-09-2006