harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2056) [drlvm][jit] Jitrino.OPT's bpp.version=1 does not insert a polling code to every backedge
Date Mon, 05 Feb 2007 12:32:08 GMT

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

George Timoshenko commented on HARMONY-2056:
--------------------------------------------

Now I see the fix suggested by Mikhail.

Actually version 1 was supposed to work as I described in the previous comment.

Mikhail fix changes version 1 "nature". And leads it to the behaviour described in code annotations
Ia32BBPolling.cpp .

I do not know which solution is more appropriate here.

> [drlvm][jit] Jitrino.OPT's bpp.version=1 does not insert a polling code to every backedge
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2056
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2056
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: 2056.fix
>
>
> This bug is not critical, because it's about bbp.version=1 mode and default mode is bbp.version=6.
> I found this problem while debugging more critical BBP bug and tried version=1 for my
temporary needs.
> In BBP documentation (in sources) I found:
> // version of BBPolling:
>     //  0 - must be discarded in runImpl()
>     //  1 - insert bbpCFG at all backedges
>     
> So I expecting to have BBP code generated for this test:
> public class BBPBug {
>    public static void main(String[] args) {
>         new BBPBug().foo();
>     }
>     void foo() {
>         int i=0;
>         while (i<100) {
>             synchronized (this) {
>                 i++;
>             }
>         }
>     }
> }
> The BBP code is not generated.

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