harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3711) [drlvm][gc] kernel test RuntimeTest.test_freeMemory fails intermittently
Date Thu, 17 Jan 2008 12:03:36 GMT

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

Alexey Varlamov closed HARMONY-3711.
------------------------------------

    Resolution: Won't Fix

Please disregard my last comment, I was wrong and this is GCv4.1 issue only. Sorry for the
trouble.
AFAIS, the test verifies conformance to j.l.Runtime.freeMemory() API specification, and is
not unreasonable in design. Do you have better idea for the test?

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


Mime
View raw message