Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 90280 invoked from network); 18 Aug 2007 13:31:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2007 13:31:01 -0000 Received: (qmail 44420 invoked by uid 500); 18 Aug 2007 13:30:57 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 44401 invoked by uid 500); 18 Aug 2007 13:30:57 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 44274 invoked by uid 99); 18 Aug 2007 13:30:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2007 06:30:56 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2007 13:31:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D253714204 for ; Sat, 18 Aug 2007 06:30:33 -0700 (PDT) Message-ID: <18633699.1187443833378.JavaMail.jira@brutus> Date: Sat, 18 Aug 2007 06:30:33 -0700 (PDT) From: "Alexei Fedotov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4649) [p-unit] memory utils, fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [p-unit] memory utils, fixes ---------------------------- Key: HARMONY-4649 URL: https://issues.apache.org/jira/browse/HARMONY-4649 Project: Harmony Issue Type: Improvement Reporter: Alexei Fedotov 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.