Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82308 invoked from network); 14 Jun 2007 17:44:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 17:44:33 -0000 Received: (qmail 4604 invoked by uid 500); 14 Jun 2007 17:44:36 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 4581 invoked by uid 500); 14 Jun 2007 17:44:36 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 4558 invoked by uid 99); 14 Jun 2007 17:44:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 10:44:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 10:44:31 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id F1B141A981A; Thu, 14 Jun 2007 10:44:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r547327 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_heap.cpp Date: Thu, 14 Jun 2007 17:44:10 -0000 To: commits@harmony.apache.org From: gshimansky@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070614174410.F1B141A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);