harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4649) [p-unit] memory utils, fixes
Date Mon, 20 Aug 2007 02:21:30 GMT

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

Andrew Zhang commented on HARMONY-4649:

Hi Alexei, 

Excellent! Thanks for the improvement.  I only have one question about the commit:

  * Fixed testInstance allocation: allocate it once for class (as it is done in ng-unit).

Where's the exact code? Does it mean that the test methods will affect each other?

Best regards,

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

View raw message