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] Created: (HARMONY-1762) [DRLVM][GC] weak references reachable from finalizible objects is not enumerated
Date Fri, 06 Oct 2006 16:05:19 GMT
[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


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

        

Mime
View raw message