harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1144) [j.u.c integration with DRLVM - step#1]: implement getFieldOffset and modify compareAndSet<*> methods
Date Tue, 15 Aug 2006 03:49:14 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1144?page=comments#action_12428030 ] 
            
Nathan Beyer commented on HARMONY-1144:
---------------------------------------

I've applied the patch and tweaked a few things (spelling errors, etc). Please check out the
code and make sure it looks okay. I'm still trying to figure out how to add a test of some
sort for this, but if you can figure it out first, please post a patch.

> [j.u.c integration with DRLVM - step#1]:  implement getFieldOffset and modify compareAndSet<*>
methods
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1144
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1144
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>            Reporter: Rustem Rafikov
>         Assigned To: Nathan Beyer
>         Attachments: juc_patches.zip
>
>
> 1. I added getFieldOffset method to o.a.h.util.concurrent.Atomics.java
> 2. Atomics.compareAndSet* were modified for using offset instead of Field
> 3. Corresponding methods in Unsafe stub were implemented, other were modified to throw
UnsupportedOperationException.
> I dowloaded and ran JSR166_PFD unit tests. All of them, except depending on unimplemented
methods in Unsafe, are passed.
> Please try it.
> --
> Rustem

-- 
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