You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Volosyuk (JIRA)" <ji...@apache.org> on 2006/11/28 19:03:24 UTC

[jira] Commented: (HARMONY-2072) [drlvm][gc] GC v 4.1 can't collect Phantom references and Finalizable objects in time.

    [ http://issues.apache.org/jira/browse/HARMONY-2072?page=comments#action_12454049 ] 
            
Ivan Volosyuk commented on HARMONY-2072:
----------------------------------------

Finalizers in objects with 'System.out.println(...)' works slower then allocation of new objects and creation of WeakReferences. So what? Its just a race condition in the test nothing more.
Adding empty loop 'for(int j = 0; j < 10000; j++) {}'  in the loop in main will make the test pass. Adding the loop in finalizer makes the test fail on RI.
I don't see any reason to hold this issue opened.

> [drlvm][gc] GC v 4.1 can't collect Phantom references and Finalizable objects in time.
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2072
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2072
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Priority: Minor
>         Attachments: PhantomTest.java
>
>
> The attached test failed with OutOfMemoryError if it runs with following parameters:
> 	-Xms4m -Xmx8m
> 	-Xms32m -Xmx64m 
> 	-Xmx32m
> It shows that v 4.1 can't collect Phantom references and Finalizable objects in time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira