Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2504

[drlvm] enforce structurted locking behaviour

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      Thread makes monitorenter, and throws exception (NPE) to the output.
      java.lang.IllegalMonitorStateException expected to appear at the output
      (because, according to the specification, the last exception should appear).
      Then other thread tries to get a lock.
      DRLVM hangs up. It's throws NPE instead of IllegalMonitorStateException and does not release the
      lock.

        Attachments

        1. Harmony-2504test.zip
          2 kB
          Alexander D Shipilov

          Activity

            People

            • Assignee:
              wjwashburn weldon washburn
              Reporter:
              alexandershipilov Alexander D Shipilov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: