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] Updated: (HARMONY-1762) [DRLVM][GC] weak references reachable from finalizible objects is not enumerated
Date Fri, 06 Oct 2006 16:18:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1762?page=all ]

Ivan Volosyuk updated HARMONY-1762:

    Attachment: special_references_fix.diff

Fix attached.
Ignore new weak references reported from objects reachable via finalizible objects.

> [DRLVM][GC] weak references reachable from finalizible objects is not enumerated
> --------------------------------------------------------------------------------
>                 Key: HARMONY-1762
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1762
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Attachments: FinGC.java, special_references_fix.diff
> Weak references processing is splited into 2 phases on compaction algorithm.
> 1 phase: check reachability of referent, remember the reference or referent for update
during compaction.
> 2 phase: vm_enqueue_reference() if the referent is not reachable.
> Algorithm of enumeration is the following:
> enumerate world
> enumerate (phase1) process weak and soft references
> enumerate finalizible objects.
> compaction
> enqueue weak and soft references
> ....
> Enumeration of finalizible objects may add more weak references which was not enumerated,
but which will be enqueued. This is the enumeration problem.

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


View raw message