Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 84776 invoked from network); 18 Jan 2008 07:23:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2008 07:23:57 -0000 Received: (qmail 11236 invoked by uid 500); 18 Jan 2008 07:23:47 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 11210 invoked by uid 500); 18 Jan 2008 07:23:47 -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 11201 invoked by uid 99); 18 Jan 2008 07:23:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2008 23:23:47 -0800 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; Fri, 18 Jan 2008 07:23:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2F9FF714261 for ; Thu, 17 Jan 2008 23:23:34 -0800 (PST) Message-ID: <16896114.1200641014191.JavaMail.jira@brutus> Date: Thu, 17 Jan 2008 23:23:34 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3711) [drlvm][gc] kernel test RuntimeTest.test_freeMemory fails intermittently In-Reply-To: <8958227.1177058655573.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3711?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 560262#action_12560262 ]=20 Alexey Varlamov commented on HARMONY-3711: ------------------------------------------ Hmm. I've just rechecked the test source - it eats as much memory as necces= sary to detect the change and fails only after getting OOME. AFAIU it can f= ire false alarm only if started too close to real OOME condition which norm= ally can hardly happen in kernel tests. So we may add a free memory thresho= ld for entering the cycle in test to prevent such false negatives. Seems the test reveals some LOS handling problems in GCv4.1 ? It looks like= OOME is thrown too early. > [drlvm][gc] kernel test RuntimeTest.test_freeMemory fails intermittently > ------------------------------------------------------------------------ > > Key: HARMONY-3711 > URL: https://issues.apache.org/jira/browse/HARMONY-3711 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: x86-32 > Reporter: Alexey Varlamov > Assignee: Xiao-Feng Li > Priority: Minor > > The kernel test java.lang.RuntimeTest.test_freeMemory() fails quite stabl= y on Linux@ia32, with the following diagnostics: > Runtime.freeMemory method should be sensitive to huge memory allocating! > junit.framework.AssertionFailedError: Runtime.freeMemory method should be= sensitive to huge memory allocating! at junit.framework.Assert.fail(Assert= .java:47) at java.lang.RuntimeTest.test_freeMemory(RuntimeTest.java:102) at= java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) at java.lan= g.reflect.Method.invoke(Method.java:381) at junit.framework.TestCase.runTes= t(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java) at = junit.framework.TestResult$1.protect(TestResult.java) at junit.framework.Te= stResult.runProtected(TestResult.java) at junit.framework.TestResult.run(Te= stResult.java) at junit.framework.TestCase.run(TestCase.java) at junit.fram= ework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.ru= n(TestSuite.java) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTest= Runner.run(JUnitTestRunner.java) at org.apache.tools.ant.taskdefs.optional.= junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.= ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:546) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.