Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 50179 invoked from network); 6 Dec 2008 23:48:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2008 23:48:17 -0000 Received: (qmail 23855 invoked by uid 500); 6 Dec 2008 23:48:30 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 23842 invoked by uid 500); 6 Dec 2008 23:48:30 -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 23833 invoked by uid 99); 6 Dec 2008 23:48:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2008 15:48:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2008 23:47:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 01583238889D; Sat, 6 Dec 2008 15:47:27 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r724057 - in /harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify: verifier_common.cpp verifier_common.h Date: Sat, 06 Dec 2008 23:47:26 -0000 To: commits@harmony.apache.org From: ndbeyer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081206234727.01583238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ndbeyer Date: Sat Dec 6 15:47:26 2008 New Revision: 724057 URL: http://svn.apache.org/viewvc?rev=724057&view=rev Log: fix some compile warnings from gcc Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.cpp harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.h Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.cpp URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.cpp?rev=724057&r1=724056&r2=724057&view=diff ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.cpp (original) +++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.cpp Sat Dec 6 15:47:26 2008 @@ -189,7 +189,7 @@ printf(" .......................................................................... \n"); printf(" Allocation Verify: %s , ", alloc_verifier->is_verification_passed?"passed":"failed"); printf("new nos: %d : %d , ", alloc_verifier->num_nos_newobjs, alloc_verifier->num_nos_objs); - printf("new los: %d : %d \n", alloc_verifier->num_los_newobjs, + printf("new los: %d : %lld \n", alloc_verifier->num_los_newobjs, alloc_verifier->num_los_objs-alloc_verifier->last_num_los_objs); } @@ -209,7 +209,7 @@ } } -void verifier_log_start(char* message) +void verifier_log_start(const char* message) { printf("------------------------------%-16s------------------------------\n", message); } @@ -217,7 +217,7 @@ void verifier_collect_kind_log(Heap_Verifier* heap_verifier) { GC* gc = heap_verifier->gc; - char* gc_kind; + const char* gc_kind; if(collect_is_minor()){ gc_kind = " minor collection."; }else if(collect_is_fallback()){ Modified: harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.h URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.h?rev=724057&r1=724056&r2=724057&view=diff ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.h (original) +++ harmony/enhanced/drlvm/trunk/vm/gc_gen/src/verify/verifier_common.h Sat Dec 6 15:47:26 2008 @@ -77,7 +77,7 @@ Boolean verifier_parse_options(Heap_Verifier* heap_verifier, char* options); void verifier_log_before_gc(Heap_Verifier* heap_verifier); void verifier_log_after_gc(Heap_Verifier* heap_verifier); -void verifier_log_start(char* message); +void verifier_log_start(const char* message); Boolean verify_rootset_slot(REF* p_ref, Heap_Verifier* heap_verifier);