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