Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 63609 invoked from network); 13 Oct 2006 12:48:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 12:48:13 -0000 Received: (qmail 16705 invoked by uid 500); 13 Oct 2006 12:48:10 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 16662 invoked by uid 500); 13 Oct 2006 12:48:10 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 16651 invoked by uid 99); 13 Oct 2006 12:48:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 05:48:10 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mike.fursov@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 05:48:08 -0700 Received: by ug-out-1314.google.com with SMTP id y2so577629uge for ; Fri, 13 Oct 2006 05:47:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XUCogsSMdT7mEfBU+q4ZNAqcpZpgGRQUC7fnPbuiy0glnMAjdc4Imd55rnhs5m6UTd8gm6L8u7ENOHFJIoRKB4tBWW+GXVU+RugYaWPqI+UnzPoYvLbDlIMIc75M6qSlhNFLUBR0ODqLPBee+XpjGpag6ugY5usS0OvmZUcvZt8= Received: by 10.78.201.8 with SMTP id y8mr3650275huf; Fri, 13 Oct 2006 05:47:46 -0700 (PDT) Received: by 10.78.180.1 with HTTP; Fri, 13 Oct 2006 05:47:46 -0700 (PDT) Message-ID: Date: Fri, 13 Oct 2006 19:47:46 +0700 From: "Mikhail Fursov" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] An easy task for a DRLVM newby: fix -verbose:class In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30058_10097061.1160743666811" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_30058_10097061.1160743666811 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline BTW, you asked several days ago what would be the content of our wiki page. The list with easy but useful tasks for newbies can be a good idea :) On 10/13/06, Salikh Zakirov wrote: > > Hi, > > as discussed in HARMONY-1847, -verbose:class currently does not produce > output > which is reasonable to expect. > > For example, running HelloWorld on JRockit 1.5 produces something like > the below text (only several lines provided). > > The right way to fix is to put logging lines in the class loading code, > like > > INFO2("class", "[load] opened zip " << zip_file_name); > > INFO2 is a macro available by > > #include > > First argument is the logging category "class", > the second argument is the iostream-style printed message, > concatenated together with operator <<. > > The task will take some reading through > enhanced/drlvm/trunk/vm/vmcore/src/class_support/*.c > > Any undertakers? > > [load ] opened zip c:\java5\jre\lib\jrockit.jar > [load ] opened zip c:\java5\jre\lib\rt.jar > [load ] opened zip c:\java5\jre\lib\jsse.jar > [load ] opened zip c:\java5\jre\lib\jce.jar > [load ] opened zip c:\java5\jre\lib\charsets.jar > [load ] opened zip c:\java5\jre\lib\managementapi.jar > [load ] initiated ? (0x2) 0 0x00000000/java/lang/Object > [load ] define ? (0x2) # 0 java/lang/Object > loader=0x00000000, src=c:\java5\jre\lib\jrockit.jar > [load ] loading ? (0x2) 0 0x00000000/java/lang/Object success (0.41ms) > [load ] initiated ? (0x2) 1 0x00000000/java/io/Serializable > [load ] define ? (0x2) # 1 java/io/Serializable > loader=0x00000000, src=c:\java5\jre\lib\rt.jar > [load ] loading ? (0x2) 1 0x00000000/java/io/Serializable success ( > 0.05 ms) > [load ] initiated ? (0x2) 2 0x00000000/java/lang/Class > [load ] define ? (0x2) # 2 java/lang/Class > loader=0x00000000, src=c:\java5\jre\lib\jrockit.jar > ... many similar lines snipped > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Mikhail Fursov ------=_Part_30058_10097061.1160743666811--