harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1810) [DRLVM][GC] jvmti heap iteration support in gcv41
Date Fri, 13 Oct 2006 13:58:39 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1810?page=comments#action_12442029 ] 
            
Salikh Zakirov commented on HARMONY-1810:
-----------------------------------------

It looks like the special root vector is never cleared, which leads to assertion failures
on 2nd garbage collection.
The following fix worked for me. Ivan, could you please update the patch with the fix? Thanks

--- vm/gc_cc/src/collect_slide_compact.cpp
+++ vm/gc_cc/src/collect_slide_compact.cpp
@@ -648,6 +649,7 @@ void gc_slide_process_special_roots(slot
             *ref = NULL;
         }
     }
+    array.clear();
 }
 
 void gc_slide_postprocess_special_references(reference_vector& array) {


> [DRLVM][GC] jvmti heap iteration support in gcv41
> -------------------------------------------------
>
>                 Key: HARMONY-1810
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1810
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Attachments: gcv41_heap_iteration.diff
>
>
> JVMTI heap iteration support implementation for GC v4.1

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