harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2748) [drlvm][jit] Server-static mode: problem with 'reassoc' optimization pass.
Date Wed, 15 Aug 2007 07:37:31 GMT

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

Mikhail Fursov updated HARMONY-2748:
------------------------------------

    Attachment: reassoc.diff

reassoc.diff: the fix.

The problem was with unlimited recursion in optimization's algorithm that lead to native SOE
in every configuration with 'reassoc' optimization pass enabled.


> [drlvm][jit] Server-static mode: problem with 'reassoc' optimization pass.
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-2748
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2748
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>            Assignee: Mikhail Fursov
>         Attachments: reassoc.diff
>
>
> This test fails in -Xem:server_static mode. It's passed if 'reassoc' pass it turned off.
> public class Test {
>     public static void main(String args[]) {
>         int x=1;
>         for (int i=0; i<1000; i++) {
>             x +=i;
>         }
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;//8
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;
>         x+=x;//16
>         System.out.println(x);
>     }
> }

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