You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "tatyana doubtsova (JIRA)" <ji...@apache.org> on 2007/01/12 15:45:28 UTC

[jira] Commented: (HARMONY-2918) Contribution of reliability test suite

    [ https://issues.apache.org/jira/browse/HARMONY-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464210 ] 

tatyana doubtsova commented on HARMONY-2918:
--------------------------------------------

I've attached modified DekkerTest.java 
The previous implementation of the test contained volatile array and relyed on array elements as on volatile variables. Due to specification there is no way in Java to have the elements of an array to be volatile. So I've replaced array with variables.
Also loop condition
while (current != worker && k < 100000) {k++;}
was replaced with 
while (current != worker) { }
as Dekker algorithm describes.




> Contribution of reliability test suite
> --------------------------------------
>
>                 Key: HARMONY-2918
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2918
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Contributions
>            Reporter: Oleg Oleinik
>            Priority: Minor
>         Attachments: DekkerTest.java, reliability_test_suite.zip
>
>
> Reliability test suite consisting of 72 reliability tests. Covers mainly kernel, nio, io, net, text, zip classes functionality.

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