You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2008/01/18 09:30:34 UTC

[jira] Updated: (HARMONY-3711) [drlvm][test] kernel test RuntimeTest.test_freeMemory fails intermittently

     [ https://issues.apache.org/jira/browse/HARMONY-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-3711:
-------------------------------------

    Summary: [drlvm][test] kernel test RuntimeTest.test_freeMemory fails intermittently  (was: [drlvm][gc] kernel test RuntimeTest.test_freeMemory fails intermittently)

I've played a bit with the test and it appeared to be purely test issue:
Indeed with GCv4.1 test sometimes starts with nearly exhausted heap (> 1M free) and then starts collection during the test cycle. But the test increments probe allocation geometrically thus may not fit into intial limits.

> [drlvm][test] 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 stably 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.lang.reflect.Method.invoke(Method.java:381) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java) at junit.framework.TestResult$1.protect(TestResult.java) at junit.framework.TestResult.runProtected(TestResult.java) at junit.framework.TestResult.run(TestResult.java) at junit.framework.TestCase.run(TestCase.java) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.