harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weldon washburn (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1677) [drlvm][jitrino]MMTk-style magics implementation for Jitrino.JET compiler.
Date Fri, 06 Oct 2006 04:10:26 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1677?page=comments#action_12440319 ] 
            
weldon washburn commented on HARMONY-1677:
------------------------------------------

It looks like Address.isZero() is broken.  The following test shows a variable of type Address
changes value after Address.isZero() is called:

    static void testZero()
    {
        System.out.println("------ testZero() ---");
        Address aa = Address.fromInt(0xffFFffFF);
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) );
        boolean zz = aa.isZero();
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) + " zz = " + zz );

        aa = Address.fromInt(0x0);
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) );
        zz = aa.isZero();
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) + " zz = " + zz );

        aa = Address.fromInt(0x1234);
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) );
        zz = aa.isZero();
        System.out.println("aa = " + Integer.toHexString(aa.toInt() ) + " zz = " + zz );

    }

> [drlvm][jitrino]MMTk-style magics implementation for Jitrino.JET compiler.
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-1677
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1677
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>         Assigned To: weldon washburn
>         Attachments: magic_jet1.zip, magic_jet2.zip
>
>
> This JIRA contains  'org/vmmagic/unboxed/' package implementation for Jitrino.JET compiler

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message