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

Test nsk/regression/b4311308 fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      5.0
    • Introduced In Version:
      5.0
    • CPU:
      x86
    • OS:
      windows_2003

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            chrisphi Chris Phillips
            Reporter:
            mmikhalk Mikhail Mikhalkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: