Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 6243 invoked from network); 4 Jun 2007 12:32:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2007 12:32:52 -0000 Received: (qmail 36407 invoked by uid 500); 4 Jun 2007 12:32:53 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 36378 invoked by uid 500); 4 Jun 2007 12:32:53 -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 36368 invoked by uid 99); 4 Jun 2007 12:32:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 05:32:53 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of clarazhang@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2007 05:32:48 -0700 Received: by an-out-0708.google.com with SMTP id b21so340465ana for ; Mon, 04 Jun 2007 05:32:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=a9q2YqQBs5nO+m8yN0LuaLB6F9moZtrzugqP4goKjZuaajRyZ2qLLEQ0mg+Zgc5YEvMhCkE3LrkaSCUVllXVVTqW40yGbLtCRuxblUxZh32SvxjHwgZkuPtXLb8NqyfV1c1GAtzp0vDhON02Li2tx5h0ig8wcWKzk1zLH7nOlB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kMbkcqID8Y2CmGTQA/9ezMme1zJSYeiEWWgSyLkY1HPULmV8vUCtgztSlVPt562hC0kEOudxgtXIaMj16fochTRHxylOAnBHJBBq/P14wDCn+RbSITTiFGmyPtCgPNvh1xjgp+gmPPRnm4gM9U5nejpXaFWXlI6GtglRPQ/AzHE= Received: by 10.100.226.15 with SMTP id y15mr2512515ang.1180960347444; Mon, 04 Jun 2007 05:32:27 -0700 (PDT) Received: by 10.100.109.15 with HTTP; Mon, 4 Jun 2007 05:32:27 -0700 (PDT) Message-ID: <1a876ab60706040532i12909f05hef22d509a2adc9fa@mail.gmail.com> Date: Mon, 4 Jun 2007 20:32:27 +0800 From: clara To: dev@harmony.apache.org Subject: Re: [drlvm][jitrino]How can I control the logging for the given methods or classes In-Reply-To: <0vq1wgsgi87.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_698_28815286.1180960347345" References: <003b01c7a5b9$5e528e70$3701a8c0@SUNUSTC> <0vqbqfxgvzz.fsf@gmail.com> <1a876ab60706030629h55afc2b0he4114554404a60a0@mail.gmail.com> <007e01c7a649$52a2c190$3701a8c0@SUNUSTC> <013101c7a68c$661c2020$3701a8c0@SUNUSTC> <0vq1wgsgi87.fsf@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_698_28815286.1180960347345 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Please see https://issues.apache.org/jira/browse/HARMONY-4037. Thanks. --clara On 04 Jun 2007 13:51:52 +0400, Egor Pasko wrote: > > On the 0x2EB day of Apache Harmony clarazhang@gmail.com wrote: > > The attached files are the emconf and class files I used. > > And I use the following cmd line: > > java -Xem:\workspace\harmony\test\myopt.emconf -cp > \workspace\harmony\test\ yu > > > > The attached logfiles.jpg shows part of the log files generated. > > attachments are filtered out. Please, include it as > text. Alternatively, you can file a JIRA. > > > Thanks. > > --clara > > > > ----- Original Message ----- > > From: "Mikhail Fursov" > > To: > > Sent: Monday, June 04, 2007 4:36 PM > > Subject: Re: [drlvm][jitrino]How can I control the logging for the given > methods or classes > > > > > > > Did you use exactly the same cmd-line? -Xem:opt -XX: > jit.f.filter=Test::main-XX: > > > jit.f.arg.log=ct,irdump > > > If not could you post your testcase and cmd line here, so we can check > it > > > together? > > > > > > On 6/4/07, clara wrote: > > >> > > >> It takes much disk space and time to enable compile-time logging for > > >> Jitrino, so I wish to control the logging for the specific methods or > > >> classes which I am interested. > > >> I check the method you mentioned, but except the methods I specified, > the > > >> logging for other methods(such as > java_lang_StackOverflowError._init_()V, > > >> etc.) are enabled too. > > >> > > >> Thanks. > > >> > > >> --clara > > >> > > >> ----- Original Message ----- > > >> From: "Mikhail Fursov" > > >> To: > > >> Sent: Monday, June 04, 2007 3:04 AM > > >> Subject: Re: [drlvm][jitrino]How can I control the logging for the > given > > >> methods or classes > > >> > > >> > > >> > Clara, Jitrino.OPT and Jitrino.JET have different set of logging > > >> categories > > >> > (JET is IRless JIT), so the options are slightly different. > > >> > when you use CS_OPT JIT name you must also have -Xem:opt option to > > >> enable > > >> > client-static (CS) mode. In default mode there are no CS_OPT JIT. > > >> > > > >> > Here is an example of cmd-line option to enable Jitrino.OPTlogging: > > >> > -Xem:opt -XX:jit.f.filter=Test::main -XX:jit.f.arg.log=ct,irdump > > >> > Could you check it an tell if you have any problems with it? > > >> > > > >> > > > >> > On 6/3/07, clara wrote: > > >> >> > > >> >> Thanks, Egor. > > >> >> But I found that although I set the filter, logging for other jdk > > >> classes > > >> >> was enabled either. > > >> >> How can I control the logging for only the given methods or > classes? > > >> >> > > >> >> --clara > > >> >> > > >> >> On 03 Jun 2007 14:42:08 +0400, Egor Pasko > wrote: > > >> >> > > > >> >> > On the 0x2EA day of Apache Harmony clarazhang@gmail.com wrote: > > >> >> > > Hi,all, > > >> >> > > > > >> >> > > How can I control the logging for the given methods or > classes? > > >> >> > > In http://wiki.apache.org/harmony/DrlvmCommandLineOptions, > there > > >> is: > > >> >> > > -XX:jit.p.filter=java/lang/Math. -XX:jit.p.arg.log=ct > > >> >> > ,irdump,dotdump > > >> >> > > enable logging for all methods of a single class > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > I followed the above tip, and got an error result. > > >> >> > > The class file name is Myclass. and my emconf is belows: > > >> >> > > chains=chain1 > > >> >> > > chain1.jits=CS_OPT > > >> >> > > CS_OPT.file=jitrino > > >> >> > > -XX:jit.CS_OPT.path.optimizer=ssa,... > > >> >> > > .... > > >> >> > > -XX:jit.CS_OPT.filter = Myclass. > > >> >> > > -XX:jit.CS_OPT.arg.log=irdump > > >> >> > > > > >> >> > > And the error message is belows: > > >> >> > > Error in command line 'CS_OPT.filter=Myclass. ' > > >> >> > > Invalid filter name - the same as jit name > > >> >> > > > >> >> > try without spaces: > > >> >> > -XX:jit.CS_OPT.filter=Myclass. > > >> >> > -XX:jit.CS_OPT.arg.log=irdump > > >> >> > > > >> >> > and I suggest to put "ct,irdump" to the second arg for > verbosity) > > >> >> > > > >> >> > -- > > >> >> > Egor Pasko > > >> >> > > > >> >> > > > >> >> > > >> > > > >> > > > >> > > > >> > -- > > >> > Mikhail Fursov > > >> > > > > > > > > > > > > > > > > -- > > > Mikhail Fursov > > > > > > > -- > Egor Pasko > > ------=_Part_698_28815286.1180960347345--