You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2006/08/15 05:49:14 UTC
[jira] Commented: (HARMONY-1144) [j.u.c integration with DRLVM -
step#1]: implement getFieldOffset and modify compareAndSet<*> methods
[ 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