You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2007/05/24 13:03:16 UTC

[jira] Updated: (HARMONY-3954) [drlvm][jit] Jitrino.OPT arraycopy optimization fails when Class[] array is used

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

Mikhail Fursov updated HARMONY-3954:
------------------------------------

    Attachment: arraycopy.diff

arraycopy.diff: the fix and regression tests
please review.

> [drlvm][jit] Jitrino.OPT arraycopy optimization fails when Class[] array is used
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3954
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3954
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Mikhail Fursov
>         Attachments: arraycopy.diff
>
>
> Jitrino.OPT arraycopy optimization fails when Class[] array is used
> I found this error while testing japp2004server in -Xem:server mode.
> Here is a minitest to reproduce:
> public class Hello {
>     public static void main( String argv[] ) {
>         Class[] arr1 = new Class[100];
>         arr1[1] = arr1.getClass();
>         Class[] arr2 = new Class[100];
>         System.arraycopy(arr1, 0, arr2, 0, 100);
>         System.out.println(arr2[1]);
>     }
> }
> I will submit fix & regression test soon

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