harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2081) [drlvm][interpreter] Synthetic test with monexit without monenter before passed on RI but failed on DRLVM
Date Tue, 24 Apr 2007 15:29:15 GMT

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


Mime
View raw message