You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/04/24 17:29:15 UTC
[jira] Updated: (HARMONY-2081) [drlvm][interpreter] Synthetic test
with monexit without monenter before passed on RI but failed on DRLVM
[ https://issues.apache.org/jira/browse/HARMONY-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-2081:
---------------------------------------
Summary: [drlvm][interpreter] Synthetic test with monexit without monenter before passed on RI but failed on DRLVM (was: [drlvm] Synthetic test with monexit without monenter before passed on RI but failed on DRLVM)
The bug is actually in interpreter. The failing test is in monexit.zip. Interpreter enters monitor because it sees that method foo is synchonized. Then on monitorexit bytecode it successfully exits this monitor. Interpreter keeps a table of locked monitors in the current frame. When it exits the method, it sees that this table is empty, so it doesn't try to exit the monitor and exits the method without exception.
> [drlvm][interpreter] Synthetic test with monexit without monenter before passed on RI but failed on DRLVM
> ---------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2081
> URL: https://issues.apache.org/jira/browse/HARMONY-2081
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Mikhail Fursov
> Assigned To: Gregory Shimansky
> Priority: Minor
> Attachments: interpreter-2081.diff, monexit.zip, TestME.zip
>
>
> Here is synthetic test in jasmin to demonstrate the problem: we do not handle the situation when monexit is called without monenter.
> The test passes on RI (BEA/SUN) and failed with -Xem:jet, -Xem:opt, -Xem:interpreter
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.