Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 89255 invoked from network); 25 May 2007 01:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2007 01:59:11 -0000 Received: (qmail 86328 invoked by uid 500); 25 May 2007 01:59:14 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 86299 invoked by uid 500); 25 May 2007 01:59:13 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 86290 invoked by uid 99); 25 May 2007 01:59:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 18:59:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [62.209.45.174] (HELO outbound4-fra-R.bigfish.com) (62.209.45.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 18:59:07 -0700 Received: from outbound4-fra.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound4-fra-R.bigfish.com (Postfix) with ESMTP id A01FC8E8035 for ; Fri, 25 May 2007 01:58:44 +0000 (UTC) Received: from mail50-fra-R.bigfish.com (unknown [10.4.252.3]) by outbound4-fra.bigfish.com (Postfix) with ESMTP id 9E92C85004B for ; Fri, 25 May 2007 01:58:44 +0000 (UTC) Received: from mail50-fra (localhost.localdomain [127.0.0.1]) by mail50-fra-R.bigfish.com (Postfix) with ESMTP id 935263481D9 for ; Fri, 25 May 2007 01:58:44 +0000 (UTC) X-BigFish: VP X-MS-Exchange-Organization-Antispam-Report: OrigIP: 163.181.251.8;Service: EHS Received: by mail50-fra (MessageSwitch) id 1180058324533297_4480; Fri, 25 May 2007 01:58:44 +0000 (UCT) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail50-fra.bigfish.com (Postfix) with ESMTP id 162FA700059 for ; Fri, 25 May 2007 01:58:43 +0000 (UTC) Received: from SAUSGW01.amd.com (sausgw01.amd.com [163.181.250.21]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.5) with ESMTP id l4P1vlho006248 for ; Thu, 24 May 2007 20:58:37 -0500 Received: from 163.181.22.101 by SAUSGW02.amd.com with ESMTP (AMD SMTP Relay (Email Firewall v6.1.0)); Thu, 24 May 2007 20:58:35 -0500 X-Server-Uuid: 5FC0E2DF-CD44-48CD-883A-0ED95B391E89 Received: from sausexmb2.amd.com ([163.181.3.157]) by sausexbh1.amd.com with Microsoft SMTPSVC(6.0.3790.2499); Thu, 24 May 2007 20:58:35 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: JVM args Date: Thu, 24 May 2007 20:57:53 -0500 Message-ID: <7D748C767B7FA541A8AC5504A4C89A230156784A@SAUSEXMB2.amd.com> In-Reply-To: <0vq646hisbi.fsf@gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JVM args Thread-Index: Aceeb1r/cj2YkE9nSYy4dkCXKW1augAAIAHw From: "Joshi, Shrinivas" To: dev@harmony.apache.org X-OriginalArrivalTime: 25 May 2007 01:58:35.0470 (UTC) FILETIME=[34528EE0:01C79E70] X-WSS-ID: 6A489D411GC3265503-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Egor, Thanks a bunch for elaborate information. This helps a lot. -Shrinivas -----Original Message----- From: news [mailto:news@sea.gmane.org] On Behalf Of Egor Pasko Sent: Thursday, May 24, 2007 8:51 PM To: dev@harmony.apache.org Subject: Re: JVM args On the 0x2E0 day of Apache Harmony Shrinivas Joshi wrote: > Hi Egor, >=20 > Thanks much for the info. I think I should have been clearer about my > question. I had managed to look at these options but it was not clear > about how to use them. >=20 > e.g. >=20 > -Xjit //Couldn't find out the possible values of options> Unfortunately, this one is outdated. All options to JIT are passed through the PMF ([1]). It is not a very easy reading, but the tool is rather powerful. BTW, there is a comprehensive list of examples in [2] that covers some basic JIT tricks as well. used as -XX:jit.blablabla now > --Xgc: //Couldn't find out possible values of Now as -XX:gc.blablabla, if I am not mistaken.. See [2]. > -Xem: //Couldn't find out possible values of This one is used as: -Xem:jet -Xem:opt -Xem:client -Xem:server ... The option just tells to take configuration from jet.emconf, opt.emconf, etc. located in /jre/bin/default/. You can add more options directly into these configuration files. client.emconf is used by default. [1] http://harmony.apache.org/subcomponents/drlvm/JIT_PMF.html [2] http://wiki.apache.org/harmony/DrlvmCommandLineOptions > Thanks, > -Shrinivas >=20 > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Egor Pasko > Sent: Thursday, May 24, 2007 7:02 PM > To: dev@harmony.apache.org > Subject: Re: JVM args >=20 > On the 0x2E0 day of Apache Harmony Shrinivas Joshi wrote: > > Hi All, > >=20 > > Can someone please point me to a page containing list of supported JVM > > arguments and possibly their description? >=20 > I do not remember a page like that. Please, look at the common options > printed by our main binary below. I can make it a wiki page and give > you a link if you want :) >=20 >=20 > shell> java -help > Usage: java [-options] class [args...] > (to execute a method main() of the class) > or java [-options] -jar jarfile [args...] > (to execute the jar file) >=20 > where options include: > -classpath > -cp > A ':' separated list of directories, jar archives, > and zip archives to search for class file > -D=3D > set a system property > -showversion print product version and continue > -version print product version and exit > -verbose[:class|:gc|:jni] > enable verbose output > -agentlib:[=3D] > load JVMTI agent library, library name is platform > independent > -agentpath:[=3D load JVMTI agent library, library name is platform > dependent > -verify > do full bytecode verification > -noverify > do no bytecode verification > -enableassertions[:...|:] > -ea[:...|:] > enable assertions > -disableassertions[:...|:] > -da[:...|:] > disable assertions > -esa | -enablesystemassertions > enable system assertions > -dsa | -disablesystemassertions > disable system assertions > -? -help print this help message > -help properties > help on system properties > -X print help on non-standard options >=20 > shell> java -X > -Xbootclasspath: > Set bootclasspath to the specified value > -Xbootclasspath/a: > Append specified directories and files to bootclasspath > -Xbootclasspath/p: > Prepend specified directories and files to bootclasspath > -Xjit > Specify JIT specific options > -Xms > Set Java heap size > -Xmx > Set maximum Java heap size > -Xdebug > Does nothing, this is a compatibility option > -Xnoagent > Does nothing, this is a compatibility option > -Xrun > Specify debugger agent library > -Xverbose[:[:] > Switch logging on [for specified category only > [and log that category to a file]] > -Xwarn[:[:] > Switch verbose logging off [for specified category only > [and log that category to a file]] > -Xverboseconf: > Set up logging via log4cxx configuration file > -Xverboselog: > Log verbose output to a file > -Xverify[:none|all] > Do full bytecode verification > -Xinvisible > Retain invisible annotations at runtime > -Xfileline > Add source information to logging messages > -Xthread > Add thread id to logging messages > -Xcategory > Add category name to logging messages > -Xtimestamp > Add timestamp to logging messages > -Xfunction > Add function signature to logging messages > -Xlog[:[:] > Switch debug logging on [for specified category only > [and log that category to a file]] > -Xtrace[:[:] > Switch trace logging on [for specified category only > [and log that category to a file]] > -Xstats: > Generates different statistics > -Xint > Use interpreter to execute the program > -Xgc: > Specify gc specific options > -Xem: > Specify em specific options > -Xdumpstubs > Writes stubs generated by LIL to disk > -Xparallel_jit > Launch compilation in parallel (default) > -Xno_parallel_jit > Do not launch compilation in parallel > -Xdumpfile: > Specifies a file name for the dump > -XX:=3D > set an internal system property >=20 > many tricky options can be given with -XX:name=3Dvalue, but I cannot > remember how to print them all with descriptions. For example, to see > the JIT tricks you can specify -XX:jit.arg.help=3Dtrue >=20 > --=20 > Egor Pasko >=20 >=20 >=20 >=20 >=20 >=20 --=20 Egor Pasko