harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3652) [drlvm][jit][opt] I8Lowerer produces code that does not pass internal verification
Date Wed, 18 Apr 2007 10:08:15 GMT

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

Alexey Varlamov commented on HARMONY-3652:
------------------------------------------

Smth is wrong with the patch, it make DRLVM crashing on EHWA:

     [java]   0: Jitrino::DominatorTree::dominates(Jitrino::Node*, Jitrino::Node*) (??:-1)
     [java]   1: Jitrino::LoopTree::findLoopHeaders(Jitrino::StlVector<Jitrino::Node*,
Jitrino::StlMMAllocator<Jitrino::Node*> >&) (??:-1)
     [java]   2: Jitrino::LoopTree::rebuild(bool) (??:-1)
     [java]   3: Jitrino::Ia32::IRManager::calculateLivenessInfo() (??:-1)
     [java]   4: Jitrino::Ia32::SessionAction::run() (??:-1)
     [java]   5: Jitrino::runPipeline(Jitrino::CompilationContext*) (??:-1)
     [java]   6: Jitrino::compileMethod(Jitrino::CompilationContext*) (??:-1)
     ...

> [drlvm][jit][opt] I8Lowerer produces code that does not pass internal verification
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3652
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3652
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Varlamov
>         Attachments: btr.diff
>
>
> I8Lowerer produces code that does not pass internal verification.
> public class Test {
>     
>     public static void main(String[] args) throws Exception {
>         System.out.println(new Hello().foo(10).buf);
>     }
>     String buf ="";
>     public Test foo(long l) {
>         boolean flag = false;
>         if (l >= 20L) {
>             flag = true;
>         }
>         if(flag || l >= 10L) {
>             int k = (int)(l / 11L);
>             writeDigits(k, flag);
>         }
>         return this;
>     }
>     void writeDigits(int i, boolean flag) {
>         buf+=i;
>     }
> }
> This bug is a blocker for jscience3.3  (http://jscience.org, JSR275)  test-suite.

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