harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2504) [drlvm] If method throws exception after monitorenter, JIT does not release the lock.
Date Wed, 24 Jan 2007 05:14:51 GMT

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

Alexey Varlamov commented on HARMONY-2504:
------------------------------------------

Sure, feel free to appeal on dev@. Please try to provide specific arguments, why and how it
should work. My POV that VM *must* hang while executing a code which is designed to hang.

> [drlvm] If method throws exception after monitorenter, JIT does not release the lock.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2504
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Intel x86 IA32, WinXP
>            Reporter: Alexander D Shipilov
>         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.


Mime
View raw message