harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2072) [drlvm][gc] GC v 4.1 can't collect Phantom references and Finalizable objects in time.
Date Tue, 28 Nov 2006 18:03:24 GMT
    [ 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

        

Mime
View raw message