harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tatyana doubtsova (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2918) Contribution of reliability test suite
Date Fri, 12 Jan 2007 14:45:28 GMT

    [ 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

        

Mime
View raw message