harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r547327 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp
Date Thu, 14 Jun 2007 17:44:10 GMT
Author: gshimansky
Date: Thu Jun 14 10:44:09 2007
New Revision: 547327

URL: http://svn.apache.org/viewvc?view=rev&rev=547327
Log:
Applied HARMONY-3860 [drlvm][jvmti] VM cannot correctly handle GC that supports heap iteration


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp?view=diff&rev=547327&r1=547326&r2=547327
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp Thu Jun 14 10:44:09 2007
@@ -370,7 +370,8 @@
     TIEnv* ti_env = global_ti_env;  // FIXME: use TLS to store ti_env
 
     TRACE2("vm.iterate", "vm_iterate_object " << (ManagedObject*)obj);
-    assert(ti_env->tags);
+
+    // Note: It is ok for ti_env->tags to be NULL at this point.
 
     jlong class_tag = ti_get_object_class_tag(ti_env, obj);
     tag_pair** tp = ti_get_object_tptr(obj);



Mime
View raw message