You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/01/29 14:23:49 UTC

[jira] Updated: (HARMONY-2504) [drlvm] enforce structurted locking behaviour

     [ https://issues.apache.org/jira/browse/HARMONY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-2504:
-------------------------------------

             Component/s: Non-bug differences from RI
                Priority: Minor  (was: Major)
             Environment:     (was: Intel x86 IA32, WinXP)
    Estimated Complexity: Moderate
              Issue Type: Task  (was: Bug)
                 Summary: [drlvm] enforce structurted locking behaviour  (was: [drlvm] If method throws exception after monitorenter, JIT does not release the lock.)

Updated the issue accordingly to feedback from dev@.
This may be considered as RI compatibilty issue thus has lower priority. Possible ways to fix: 
- issue warnings during verification on Java code breaking structured locking;
- do post-mortem releasing of held monitors.

> [drlvm] enforce structurted locking behaviour
> ---------------------------------------------
>
>                 Key: HARMONY-2504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM, Non-bug differences from RI
>            Reporter: Alexander D Shipilov
>            Priority: Minor
>         Attachments: Harmony-2504test.zip
>
>
>  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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.