You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Cheng, BuQi (JIRA)" <ji...@apache.org> on 2008/10/14 03:55:44 UTC

[jira] Created: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

[HARMONY][JIT][OPTIMIZER] Escape analysis failed
------------------------------------------------

                 Key: HARMONY-5997
                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows
            Reporter: Cheng, BuQi


When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode

The assertion bug information is like following:

escanalyzer.cpp:920
cgn_src!=NULL;


Regards!

Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chunrong Lai reassigned HARMONY-5997:
-------------------------------------

    Assignee: Chunrong Lai

> [HARMONY][JIT][OPTIMIZER] Escape analysis failed
> ------------------------------------------------
>
>                 Key: HARMONY-5997
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Cheng, BuQi
>            Assignee: Chunrong Lai
>         Attachments: patch.txt
>
>
> When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode
> The assertion bug information is like following:
> escanalyzer.cpp:920
> cgn_src!=NULL;
> Regards!
> Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

Posted by "Cheng, BuQi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639311#action_12639311 ] 

Cheng, BuQi commented on HARMONY-5997:
--------------------------------------

When Harmony run in "server" mode.

Buqi

> [HARMONY][JIT][OPTIMIZER] Escape analysis failed
> ------------------------------------------------
>
>                 Key: HARMONY-5997
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Cheng, BuQi
>
> When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode
> The assertion bug information is like following:
> escanalyzer.cpp:920
> cgn_src!=NULL;
> Regards!
> Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

Posted by "Zhiguo Ge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhiguo Ge updated HARMONY-5997:
-------------------------------

    Attachment: patch.txt

The patch for solving this problem.


> [HARMONY][JIT][OPTIMIZER] Escape analysis failed
> ------------------------------------------------
>
>                 Key: HARMONY-5997
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Cheng, BuQi
>         Attachments: patch.txt
>
>
> When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode
> The assertion bug information is like following:
> escanalyzer.cpp:920
> cgn_src!=NULL;
> Regards!
> Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chunrong Lai resolved HARMONY-5997.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M8


 Patch applied in  r709893.

> [HARMONY][JIT][OPTIMIZER] Escape analysis failed
> ------------------------------------------------
>
>                 Key: HARMONY-5997
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Cheng, BuQi
>            Assignee: Chunrong Lai
>             Fix For: 5.0M8
>
>         Attachments: patch.txt
>
>
> When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode
> The assertion bug information is like following:
> escanalyzer.cpp:920
> cgn_src!=NULL;
> Regards!
> Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5997) [HARMONY][JIT][OPTIMIZER] Escape analysis failed

Posted by "Zhiguo Ge (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641764#action_12641764 ] 

Zhiguo Ge commented on HARMONY-5997:
------------------------------------

The problem is caused when building connection graph. The defs of a variable with unmanagedPtr are not added to connection graph. However, the analyzer did not check the data type when creating def-use chain for this variable in connection graph.  As a result, the problem is caused as the analyzer cannot find the corresponding def node in connection graph for the variable use node.

The problem can be solved by checking whether a variable use is unmanagedPtr type when creating def-use chain for connection graph. 

The patch for solving this problem is attached.


> [HARMONY][JIT][OPTIMIZER] Escape analysis failed
> ------------------------------------------------
>
>                 Key: HARMONY-5997
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5997
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Cheng, BuQi
>
> When we set  maxMethodExamLevel_default = 2 (escanalyzer.h), an assertion bug happened in SPECjvm2008.derby with Harmony in debug mode
> The assertion bug information is like following:
> escanalyzer.cpp:920
> cgn_src!=NULL;
> Regards!
> Buqi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.