-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
5.0u16
Test nsk/regression/b4311308 Fails with options
-server -Xcomp -XX:+UseBiasedLocking
-server -Xmixed -XX:+UseBiasedLocking
-server -Xint -XX:+UseBiasedLocking
-server -Xincgc
-server -Xcomp -Xincgc
-server -Xint -Xincgc
but PASS with options
-server
-server -Xint
-server -Xcomp
-server -Xmixed
Error log is:
==> nsk/regression/b4311308 test LOG:
--> This test on #4311308 bug; Category: hotspot; Subcategory: jvmpi
Synopsis: JVMPI_EVENT_MONITOR_DUMP is wrong or has missing info
--> Thread - One_Thread(lockA, lockB) - Started!
--> state N 1: b4311308.lockA has been locked by One_Thread
--> One_Thread is waiting for b4311308.barrier notification
====> checking Monitor Dump for state N 1...
--> Request Event For Monitor Dump...
--> analysing of Monitor Dump...
--> result of Monitor Dump analysing:
--> One_Thread: owner_java_monitor_counter = 0
--> One_Thread: wait_to_be_notified_java_monitor_counter = 1
--> Monitor Dump for state N 1 is NOT correct!
--> Expected result:
--> One_Thread: owner_java_monitor_counter = 1
--> One_Thread: wait_to_be_notified_java_monitor_counter = 1
-->
--> Thread - Two_Thread(lockB, lockA) - Started!
--> state N 2: b4311308.lockA has been locked by One_Thread
--> One_Thread is waiting for b4311308.lockB to enter
--> b4311308.lockB has been locked by Two_Thread
--> Two_Thread is waiting for b4311308.lockA to enter
====> checking Monitor Dump for state N 2...
--> Request Event For Monitor Dump...
--> analysing of Monitor Dump...
--> result of Monitor Dump analysing:
--> One_Thread: owner_java_monitor_counter = 1
--> One_Thread: wait_to_enter_java_monitor_counter = 1
--> Two_Thread: owner_java_monitor_counter = 1
--> Two_Thread: wait_to_enter_java_monitor_counter = 1
--> Monitor Dump for state N 2 is correct!
==> nsk/regression/b4311308 test FAILED
-server -Xcomp -XX:+UseBiasedLocking
-server -Xmixed -XX:+UseBiasedLocking
-server -Xint -XX:+UseBiasedLocking
-server -Xincgc
-server -Xcomp -Xincgc
-server -Xint -Xincgc
but PASS with options
-server
-server -Xint
-server -Xcomp
-server -Xmixed
Error log is:
==> nsk/regression/b4311308 test LOG:
--> This test on #4311308 bug; Category: hotspot; Subcategory: jvmpi
Synopsis: JVMPI_EVENT_MONITOR_DUMP is wrong or has missing info
--> Thread - One_Thread(lockA, lockB) - Started!
--> state N 1: b4311308.lockA has been locked by One_Thread
--> One_Thread is waiting for b4311308.barrier notification
====> checking Monitor Dump for state N 1...
--> Request Event For Monitor Dump...
--> analysing of Monitor Dump...
--> result of Monitor Dump analysing:
--> One_Thread: owner_java_monitor_counter = 0
--> One_Thread: wait_to_be_notified_java_monitor_counter = 1
--> Monitor Dump for state N 1 is NOT correct!
--> Expected result:
--> One_Thread: owner_java_monitor_counter = 1
--> One_Thread: wait_to_be_notified_java_monitor_counter = 1
-->
--> Thread - Two_Thread(lockB, lockA) - Started!
--> state N 2: b4311308.lockA has been locked by One_Thread
--> One_Thread is waiting for b4311308.lockB to enter
--> b4311308.lockB has been locked by Two_Thread
--> Two_Thread is waiting for b4311308.lockA to enter
====> checking Monitor Dump for state N 2...
--> Request Event For Monitor Dump...
--> analysing of Monitor Dump...
--> result of Monitor Dump analysing:
--> One_Thread: owner_java_monitor_counter = 1
--> One_Thread: wait_to_enter_java_monitor_counter = 1
--> Two_Thread: owner_java_monitor_counter = 1
--> Two_Thread: wait_to_enter_java_monitor_counter = 1
--> Monitor Dump for state N 2 is correct!
==> nsk/regression/b4311308 test FAILED