Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 63697 invoked from network); 3 Jul 2007 02:17:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 02:17:13 -0000 Received: (qmail 95319 invoked by uid 500); 3 Jul 2007 02:17:16 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 95228 invoked by uid 500); 3 Jul 2007 02:17:15 -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 95215 invoked by uid 99); 3 Jul 2007 02:17:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 19:17:15 -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; Mon, 02 Jul 2007 19:17:11 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6FBEC1A981A; Mon, 2 Jul 2007 19:16:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r552648 - in /harmony/enhanced/drlvm/trunk/vm/vmcore: include/init.h src/init/harmony.properties src/init/vm_init.cpp src/init/vm_properties.cpp Date: Tue, 03 Jul 2007 02:16:50 -0000 To: commits@harmony.apache.org From: xli@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070703021651.6FBEC1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: xli Date: Mon Jul 2 19:16:46 2007 New Revision: 552648 URL: http://svn.apache.org/viewvc?view=rev&rev=552648 Log: HARMONY-3934 : comments by Vladimir Beliaev: The attached patch does the following things: 1. reports error if -XX propery format is broken (-XX:+key, -XX:-key or -XX:key=[value] is allowed), i.e. '-XX:gc.dll=' is a proper specification (of empty value) while '-XX:gc.dll' argument produces error ('initialize_properties' returnns the status code now). 2. renamed 'vm.dlls' to 'gc.dll'". This required to do the following: 2.1 add a check that "gc.dll" property is always set (the vm_init code expects this property is set either to default value or it is set through command line) 2.2 remove "parsing cycle" of gc.dll (previously "vm.dlls" may contain the list of DLLs) I've tested DRLVM with different variants of related command line - works as expected. Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/include/init.h harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/harmony.properties harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/include/init.h URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/include/init.h?view=diff&rev=552648&r1=552647&r2=552648 ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/vmcore/include/init.h (original) +++ harmony/enhanced/drlvm/trunk/vm/vmcore/include/init.h Mon Jul 2 19:16:46 2007 @@ -35,6 +35,6 @@ void* get_portlib_for_logger(Global_Env *p_env); void parse_jit_arguments(JavaVMInitArgs* vm_arguments); void print_generic_help(); -void initialize_properties(Global_Env *p_env); +jint initialize_properties(Global_Env *p_env); #endif //_INIT_H Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/harmony.properties URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/harmony.properties?view=diff&rev=552648&r1=552647&r2=552648 ============================================================================== --- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/harmony.properties (original) +++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/harmony.properties Mon Jul 2 19:16:46 2007 @@ -41,6 +41,9 @@ ECHO023=\ -Xlog[:[:]\n Switch debug logging on [for specified category only\n [and log that category to a file]]\n -Xtrace[:[:]\n Switch trace logging on [for specified category only\n [and log that category to a file]] ECHO024=\ -Xstats:\n Generates different statistics ECHO025=\ -Xint\n Use interpreter to execute the program\n -Xgc:\n Specify gc specific options\n -Xem:\n Specify em specific options\n -Xdumpstubs\n Writes stubs generated by LIL to disk\n -Xparallel_jit\n Launch compilation in parallel (default)\n -Xno_parallel_jit\n Do not launch compilation in parallel\n -Xdumpfile:\n Specifies a file name for the dump\n -XX:=\n set an internal system property\n Boolean options may be turned on with -XX:+