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

intermittent ownedMonitorsAndFrames004 failure in expected monitor count

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 9
    • core-svc
    • sparc_64
    • solaris_11

      This failure was spotted in the 2014-05-02 RT_Baseline nightly:

      nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames004

          This test failed due to the following:

          debugee.stderr> Debuggee: received the command: forceBreakpoint
          binder> Got requested event:
              BreakpointEvent@nsk.share.jpda.AbstractDebuggeeTest:42 in thread OwnedMonitorDebuggeeMainThread
          # ERROR: Number of expected monitors and actual ones differs
          # ERROR: Expected: 1, actual: 2
          # ERROR: Unexpected monitor in result of ownedMonitorsAndFrames(): instance of java.lang.Object(id=311) Depth: 0 Thread: instance of nsk.share.locks.DeadlockedThread(name='ownedMonitorsAndFrames004_DeadlockedThread7', id=318)
          ACTUAL MONITORS (total 2):
          Monitor: instance of java.lang.Object(id=311)
          Depth: 0
          Thread: instance of nsk.share.locks.DeadlockedThread(name='ownedMonitorsAndFrames004_DeadlockedThread7', id=318)
          Monitor: instance of nsk.share.locks.SynchronizedMethodLocker(id=317)
          Depth: 2
          Thread: instance of nsk.share.locks.DeadlockedThread(name='ownedMonitorsAndFrames004_DeadlockedThread7', id=318)
          EXPECTED MONITORS (total 1):
          Monitor: instance of nsk.share.locks.SynchronizedMethodLocker(id=317)
          Depth: 2
          Thread: instance of nsk.share.locks.DeadlockedThread(name='ownedMonitorsAndFrames004_DeadlockedThread7', id=318)
          Thread frames:
          nsk.share.locks.SynchronizedBlockLocker.doLock, line: 22
          nsk.share.locks.DeadlockLocker.lock, line: 61
          nsk.share.locks.SynchronizedMethodLocker.doLock, line: 22
          nsk.share.locks.DeadlockLocker.lock, line: 61
          nsk.share.locks.DeadlockedThread.run, line: 21

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: