You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nikolay Kurtov (JIRA)" <ji...@apache.org> on 2008/03/12 10:00:46 UTC

[jira] Created: (HARMONY-5595) [drlvm][jitrino]Difference in bc-mapping after translator

[drlvm][jitrino]Difference in bc-mapping after translator
---------------------------------------------------------

                 Key: HARMONY-5595
                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: All
            Reporter: Nikolay Kurtov


Discussion on mailing list:
http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html


I compiled the same class with JET and OPT, and found a difference in bytecode-mapping

One of branches of switch goes to this code:
;;  58) ILOAD_0                            
;;  59) BIPUSH          45                 
;;  61) IADD                               
;;  62) I2B                                
;;  63) ISTORE_1                           
....
So, after the recompilation by OPT, the block should begin from bcOffset 58

In OPT after translator I found in irdump the following block
Block L5: 
  Predecessors: ENTRY_L0
  Successors: L8
  I5:L5: bcmap:59
  I34:ldci4     #45 -) t14:int32
  I35:add   t1, t14 -) t15:int32
  I36:convi1  t15 -) t16:int32
  I37:stvar     t16 -) v1:int32
....

The block begins from bcOffset 59
I consider these values in JET and OPT should be equal.

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


[jira] Assigned: (HARMONY-5595) [drlvm][jitrino]Difference in bc-mapping after translator

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

Mikhail Fursov reassigned HARMONY-5595:
---------------------------------------

    Assignee: Mikhail Fursov

> [drlvm][jitrino]Difference in bc-mapping after translator
> ---------------------------------------------------------
>
>                 Key: HARMONY-5595
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Nikolay Kurtov
>            Assignee: Mikhail Fursov
>         Attachments: Test.java
>
>
> Discussion on mailing list:
> http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html
> I compiled the same class with JET and OPT, and found a difference in bytecode-mapping
> One of branches of switch goes to this code:
> ;;  58) ILOAD_0                            
> ;;  59) BIPUSH          45                 
> ;;  61) IADD                               
> ;;  62) I2B                                
> ;;  63) ISTORE_1                           
> ....
> So, after the recompilation by OPT, the block should begin from bcOffset 58
> In OPT after translator I found in irdump the following block
> Block L5: 
>   Predecessors: ENTRY_L0
>   Successors: L8
>   I5:L5: bcmap:59
>   I34:ldci4     #45 -) t14:int32
>   I35:add   t1, t14 -) t15:int32
>   I36:convi1  t15 -) t16:int32
>   I37:stvar     t16 -) v1:int32
> ....
> The block begins from bcOffset 59
> I consider these values in JET and OPT should be equal.

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


[jira] Updated: (HARMONY-5595) [drlvm][jit][opt] Difference in bc-mapping after translator

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

Mikhail Fursov updated HARMONY-5595:
------------------------------------

    Attachment: bcmap.diff

bcmap.diff: a fix for the problem.

> [drlvm][jit][opt] Difference in bc-mapping after translator
> -----------------------------------------------------------
>
>                 Key: HARMONY-5595
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Nikolay Kurtov
>            Assignee: Mikhail Fursov
>         Attachments: bcmap.diff, Test.java
>
>
> Discussion on mailing list:
> http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html
> I compiled the same class with JET and OPT, and found a difference in bytecode-mapping
> One of branches of switch goes to this code:
> ;;  58) ILOAD_0                            
> ;;  59) BIPUSH          45                 
> ;;  61) IADD                               
> ;;  62) I2B                                
> ;;  63) ISTORE_1                           
> ....
> So, after the recompilation by OPT, the block should begin from bcOffset 58
> In OPT after translator I found in irdump the following block
> Block L5: 
>   Predecessors: ENTRY_L0
>   Successors: L8
>   I5:L5: bcmap:59
>   I34:ldci4     #45 -) t14:int32
>   I35:add   t1, t14 -) t15:int32
>   I36:convi1  t15 -) t16:int32
>   I37:stvar     t16 -) v1:int32
> ....
> The block begins from bcOffset 59
> I consider these values in JET and OPT should be equal.

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


[jira] Updated: (HARMONY-5595) [drlvm][jitrino]Difference in bc-mapping after translator

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

Nikolay Kurtov updated HARMONY-5595:
------------------------------------

    Attachment: Test.java

Java code to reproduce the issue

> [drlvm][jitrino]Difference in bc-mapping after translator
> ---------------------------------------------------------
>
>                 Key: HARMONY-5595
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Nikolay Kurtov
>         Attachments: Test.java
>
>
> Discussion on mailing list:
> http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html
> I compiled the same class with JET and OPT, and found a difference in bytecode-mapping
> One of branches of switch goes to this code:
> ;;  58) ILOAD_0                            
> ;;  59) BIPUSH          45                 
> ;;  61) IADD                               
> ;;  62) I2B                                
> ;;  63) ISTORE_1                           
> ....
> So, after the recompilation by OPT, the block should begin from bcOffset 58
> In OPT after translator I found in irdump the following block
> Block L5: 
>   Predecessors: ENTRY_L0
>   Successors: L8
>   I5:L5: bcmap:59
>   I34:ldci4     #45 -) t14:int32
>   I35:add   t1, t14 -) t15:int32
>   I36:convi1  t15 -) t16:int32
>   I37:stvar     t16 -) v1:int32
> ....
> The block begins from bcOffset 59
> I consider these values in JET and OPT should be equal.

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


[jira] Updated: (HARMONY-5595) [drlvm][jit][opt] Difference in bc-mapping after translator

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

Mikhail Fursov updated HARMONY-5595:
------------------------------------

    Estimated Complexity: Moderate  (was: Unknown)
                 Summary: [drlvm][jit][opt] Difference in bc-mapping after translator  (was: [drlvm][jitrino]Difference in bc-mapping after translator)

> [drlvm][jit][opt] Difference in bc-mapping after translator
> -----------------------------------------------------------
>
>                 Key: HARMONY-5595
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Nikolay Kurtov
>            Assignee: Mikhail Fursov
>         Attachments: Test.java
>
>
> Discussion on mailing list:
> http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html
> I compiled the same class with JET and OPT, and found a difference in bytecode-mapping
> One of branches of switch goes to this code:
> ;;  58) ILOAD_0                            
> ;;  59) BIPUSH          45                 
> ;;  61) IADD                               
> ;;  62) I2B                                
> ;;  63) ISTORE_1                           
> ....
> So, after the recompilation by OPT, the block should begin from bcOffset 58
> In OPT after translator I found in irdump the following block
> Block L5: 
>   Predecessors: ENTRY_L0
>   Successors: L8
>   I5:L5: bcmap:59
>   I34:ldci4     #45 -) t14:int32
>   I35:add   t1, t14 -) t15:int32
>   I36:convi1  t15 -) t16:int32
>   I37:stvar     t16 -) v1:int32
> ....
> The block begins from bcOffset 59
> I consider these values in JET and OPT should be equal.

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


[jira] Resolved: (HARMONY-5595) [drlvm][jit][opt] Difference in bc-mapping after translator

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

Mikhail Fursov resolved HARMONY-5595.
-------------------------------------

    Resolution: Fixed

Committed revision r636777

> [drlvm][jit][opt] Difference in bc-mapping after translator
> -----------------------------------------------------------
>
>                 Key: HARMONY-5595
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5595
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Nikolay Kurtov
>            Assignee: Mikhail Fursov
>         Attachments: bcmap.diff, Test.java
>
>
> Discussion on mailing list:
> http://www.mail-archive.com/dev@harmony.apache.org/msg13158.html
> I compiled the same class with JET and OPT, and found a difference in bytecode-mapping
> One of branches of switch goes to this code:
> ;;  58) ILOAD_0                            
> ;;  59) BIPUSH          45                 
> ;;  61) IADD                               
> ;;  62) I2B                                
> ;;  63) ISTORE_1                           
> ....
> So, after the recompilation by OPT, the block should begin from bcOffset 58
> In OPT after translator I found in irdump the following block
> Block L5: 
>   Predecessors: ENTRY_L0
>   Successors: L8
>   I5:L5: bcmap:59
>   I34:ldci4     #45 -) t14:int32
>   I35:add   t1, t14 -) t15:int32
>   I36:convi1  t15 -) t16:int32
>   I37:stvar     t16 -) v1:int32
> ....
> The block begins from bcOffset 59
> I consider these values in JET and OPT should be equal.

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