commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SANDBOX-255) [javaflow] synchronized(obj) support is missing (locks are not released when suspending resulting in IllegalMonitorExceptions)
Date Sat, 13 Sep 2008 14:46:44 GMT

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

Stefano Bagnara updated SANDBOX-255:
------------------------------------

    Attachment: SANDBOX-255.diff

Preliminary support for Synchroned blocks.

The previous synchronization test pass (need SANDBOX-254 applied too).
Added a new test to check that lock is reaquired (trying to notify) , and released (checking
that an exception is thrown when we don't own the lock) and also works in nested methods.

It seems that after this and SANDBOX-254 every ASM test pass. BCEL does not work and IMHO
should be deprecated as mantaining 2 different implementation is a PITA.


> [javaflow] synchronized(obj) support is missing (locks are not released when suspending
resulting in IllegalMonitorExceptions)
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SANDBOX-255
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-255
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Javaflow
>            Reporter: Stefano Bagnara
>         Attachments: SANDBOX-255.diff
>
>
> MONITORENTER/MONITOREXIT are ignored by the rewriting engine.
> They should be tracked so that MONITOREXIT is issued for each monitor when suspending
and MONITORENTER si "replayed" when continuing.

-- 
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