You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Yuri Dolgov (JIRA)" <ji...@apache.org> on 2007/12/06 12:47:43 UTC

[jira] Created: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

[drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
-------------------------------------------------------------------------

                 Key: HARMONY-5267
                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Linux/Windows EM64T
r600470
            Reporter: Yuri Dolgov
            Priority: Critical


SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
in this case (place 2 operands on single  register).

To reporduce this make the following steps:
1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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


[jira] Updated: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

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

Yuri Dolgov updated HARMONY-5267:
---------------------------------

    Attachment: sql1.java

> [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows EM64T
> r600470
>            Reporter: Yuri Dolgov
>            Priority: Critical
>         Attachments: sql1.java
>
>
> SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
> in this case (place 2 operands on single  register).
> To reporduce this make the following steps:
> 1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
> 2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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


[jira] Resolved: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

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

Mikhail Fursov resolved HARMONY-5267.
-------------------------------------

    Resolution: Fixed

Committed revision 601772

> [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows EM64T
> r600470
>            Reporter: Yuri Dolgov
>            Priority: Critical
>         Attachments: HARMONY-5267.patch, sql1.java
>
>
> SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
> in this case (place 2 operands on single  register).
> To reporduce this make the following steps:
> 1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
> 2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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


[jira] Updated: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

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

Yuri Dolgov updated HARMONY-5267:
---------------------------------

    Attachment:     (was: HARMONY-5267.patch)

> [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows EM64T
> r600470
>            Reporter: Yuri Dolgov
>            Priority: Critical
>         Attachments: sql1.java
>
>
> SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
> in this case (place 2 operands on single  register).
> To reporduce this make the following steps:
> 1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
> 2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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


[jira] Updated: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

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

Yuri Dolgov updated HARMONY-5267:
---------------------------------

    Attachment: HARMONY-5267.patch

Patch attached

> [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows EM64T
> r600470
>            Reporter: Yuri Dolgov
>            Priority: Critical
>         Attachments: HARMONY-5267.patch, sql1.java
>
>
> SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
> in this case (place 2 operands on single  register).
> To reporduce this make the following steps:
> 1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
> 2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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


[jira] Updated: (HARMONY-5267) [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code

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

Yuri Dolgov updated HARMONY-5267:
---------------------------------

    Attachment: HARMONY-5267.patch

> [drlvm][jit]SpillGen makes unnecessary spills and produces incorrect code
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-5267
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5267
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows EM64T
> r600470
>            Reporter: Yuri Dolgov
>            Priority: Critical
>         Attachments: sql1.java
>
>
> SpillGen can make unnecessary spills in case if the last instruction in basic block is jump. It also can generate incorrect code 
> in this case (place 2 operands on single  register).
> To reporduce this make the following steps:
> 1. Download Oracle Database 10g 10.1.0.5 JDBC Drivers (particulary ojdbc14.jar ) from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html
> 2. Compile and run the test attached (sql1.java) java -cp ojdbc14.jar oracle.jdbc.driver.sql1

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