You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2007/08/18 15:30:33 UTC
[jira] Updated: (HARMONY-4649) [p-unit] memory utils, fixes
[ https://issues.apache.org/jira/browse/HARMONY-4649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-4649:
------------------------------------
Description:
Andrew, sorry for delay. Here go some improvements.
* Added junit-style shouldStop() method to detect timeout expiration from inside the test
* Allocate thread objects once for all test iterations.
* Replaced logger.* and assert.* domains with sensible ones.
* Slightly corrected messages in float and double asserts.
* Fixed testInstance allocation: allocate it once for class (as it is done in ng-unit).
* Improved memory deallocation algorithm in MemoryUtil.clear() to free objects with finalizers on RI, added wilderness utilities and maximum total memory calculation. Restored org.punit.exception.OutOfMemoryException. Added related test.
* Fixed Maximum/Minimum watcher value accumulation in case when _scale changes.
* Fixed formatting and tabs.
was:
Andrey, sorry for delay. Here go some improvements.
* Added junit-style shouldStop() method to detect timeout expiration from inside the test
* Allocate thread objects once for all test iterations.
* Replaced logger.* and assert.* domains with sensible ones.
* Slightly corrected messages in float and double asserts.
* Fixed testInstance allocation: allocate it once for class (as it is done in ng-unit).
* Improved memory deallocation algorithm in MemoryUtil.clear() to free objects with finalizers on RI, added wilderness utilities and maximum total memory calculation. Restored org.punit.exception.OutOfMemoryException. Added related test.
* Fixed Maximum/Minimum watcher value accumulation in case when _scale changes.
* Fixed formatting and tabs.
> [p-unit] memory utils, fixes
> ----------------------------
>
> Key: HARMONY-4649
> URL: https://issues.apache.org/jira/browse/HARMONY-4649
> Project: Harmony
> Issue Type: Improvement
> Components: Misc
> Reporter: Alexei Fedotov
>
> Andrew, sorry for delay. Here go some improvements.
> * Added junit-style shouldStop() method to detect timeout expiration from inside the test
> * Allocate thread objects once for all test iterations.
> * Replaced logger.* and assert.* domains with sensible ones.
> * Slightly corrected messages in float and double asserts.
> * Fixed testInstance allocation: allocate it once for class (as it is done in ng-unit).
> * Improved memory deallocation algorithm in MemoryUtil.clear() to free objects with finalizers on RI, added wilderness utilities and maximum total memory calculation. Restored org.punit.exception.OutOfMemoryException. Added related test.
> * Fixed Maximum/Minimum watcher value accumulation in case when _scale changes.
> * Fixed formatting and tabs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.