From dev-return-38409-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Tue Nov 10 12:59:16 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 82021 invoked from network); 10 Nov 2009 12:59:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 12:59:16 -0000 Received: (qmail 20524 invoked by uid 500); 10 Nov 2009 12:59:16 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 20435 invoked by uid 500); 10 Nov 2009 12:59:15 -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 20424 invoked by uid 99); 10 Nov 2009 12:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 12:59:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xiaofeng.li@gmail.com designates 209.85.221.200 as permitted sender) Received: from [209.85.221.200] (HELO mail-qy0-f200.google.com) (209.85.221.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 12:59:04 +0000 Received: by qyk38 with SMTP id 38so1684783qyk.25 for ; Tue, 10 Nov 2009 04:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=H3MtE2VooFOlIX29gisXS9uvRgjXeCfUhGyZUekVdrw=; b=rbxtynu4+LewkrG1nGbsp4pAE9ER37uzCopzJ5gj+9gr5r7UzLot3gC/5Mz8epHIch 38qwuELoM7I1i08p0BlxcQzl/tVzFrqXiERZ2AMhiw4m8z2shNDPzRTkO2h98V7PnBlq PGcYKOe6TN/hfsuYROXBAibWiNtsW6IUs4yZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fRLhXOqw1V0KcuHcBDT1KM0zusgkC+ldT6G4HjhzC4SrSm+/HBNvemIJOYdd65urn0 84n8c0+Y+RPIx+bM0IFMnAlsKDt1he2bQLcfhBSUG3qJoQ9Q/Ze5LfDhYfa5Nq0g66+R CT5bGCvjwq5FXWQ1Srysprxo8AqpyCae5lt3U= MIME-Version: 1.0 Received: by 10.229.13.213 with SMTP id d21mr3709qca.45.1257857921999; Tue, 10 Nov 2009 04:58:41 -0800 (PST) In-Reply-To: <200911091517532307471@gmail.com> References: <200911011257251878302@gmail.com> <200911040944024804177@gmail.com> <200911061139006053489@gmail.com> <200911091517532307471@gmail.com> Date: Tue, 10 Nov 2009 20:58:41 +0800 Message-ID: <9623c9a50911100458h6e922e52x7e6356804a087fbe@mail.gmail.com> Subject: Re: Re: Re: [drlvm]Is there any JVM profiler tool for Harmony tunning From: Xiao-Feng Li To: dev@harmony.apache.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org For JVM performance tuning, I run Harmony as a common C application in Vtune, not as a Java application. Are you having to run Harmony in Linux? I had less experience with Vtune in Linux. But it works perfectly in Windows. Will you try running in Windows? Thanks, xiaofeng 2009/11/9 johnnylj98 : > Hi Xiao Feng, > Thanks for your help. I found Intel VTune use JVMTI to profile the applic= ation if you specify your application as java program. So that it still won= 't work in my case because I don't use the IR generated from bytecode. > But if I specify the java program as a linux excutable application, all I= got are hot modules. When I try to see the hot methods in a module, VTune = collapse. > Thanks a lot. > > 2009-11-09 > > > > johnnylj98 > > > > =B7=A2=BC=FE=C8=CB=A3=BA Xiao-Feng Li > =B7=A2=CB=CD=CA=B1=BC=E4=A3=BA 2009-11-09 10:04:14 > =CA=D5=BC=FE=C8=CB=A3=BA dev > =B3=AD=CB=CD=A3=BA > =D6=F7=CC=E2=A3=BA Re: Re: Re: [drlvm]Is there any JVM profiler tool for = Harmony tunning > > Please build Harmony in debug mode, that will give you the symbols for > analysis. > Personally I do not see any special in using Vtune with Harmony than > with another applications. > Thanks, > xiaofeng > On Fri, Nov 6, 2009 at 2:30 PM, johnnylj98 wrote: >> Hi, Xiao-Feng Li >> >> Thanks for your help. I tried VTune according to your suggestion. I can = trace the threads and modules in running of java, but every time I click ho= tspot tag for a specific module VTune goes out of response. >> Is there anything special I should care about when I use VTune to tune H= armony? >> >> Thanks a lot. >> >> >> 2009-11-06 >> >> >> >> johnnylj98 >> >> >> >> =B7=A2=BC=FE=C8=CB=A3=BA Xiao-Feng Li >> =B7=A2=CB=CD=CA=B1=BC=E4=A3=BA 2009-11-04 21:50:54 >> =CA=D5=BC=FE=C8=CB=A3=BA dev >> =B3=AD=CB=CD=A3=BA >> =D6=F7=CC=E2=A3=BA Re: Re: [drlvm]Is there any JVM profiler tool for Har= mony tunning >> >> Intel Vtune is intensively used in my performance tuning work. >> Thanks, >> xiaofeng >> On Wed, Nov 4, 2009 at 9:44 AM, johnnylj98 wrote: >>> Thanks a lot. Perhaps we will make some LIR instrumentation to analyze = the run time of a method. >>> >>> >>> 2009-11-04 >>> >>> >>> >>> johnnylj98 >>> >>> >>> >>> =B7=A2=BC=FE=C8=CB=A3=BA Alexei Fedotov >>> =B7=A2=CB=CD=CA=B1=BC=E4=A3=BA 2009-11-02 21:52:51 >>> =CA=D5=BC=FE=C8=CB=A3=BA dev >>> =B3=AD=CB=CD=A3=BA >>> =D6=F7=CC=E2=A3=BA Re: [drlvm]Is there any JVM profiler tool for Harmon= y tunning >>> >>> Hello Johny, >>> You can take a look here [1] for custom JVMTI agents. >>> [1] https://issues.apache.org/jira/browse/HARMONY-5514 >>> On Sun, Nov 1, 2009 at 7:57 AM, johnnylj98 wrote= : >>>> Hi all, >>>> I'm tunning a benchmark for Harmony but Jprofiler seems doesn't suppor= t Harmony JRE. So is there some JVM profiler tool available for Harmony JRE= ? >>>> Thanks a lot. >>>> >>>> 2009-11-01 >>>> >>>> >>>> >>>> johnnylj98 >>>> >>> -- >>> With best regards / =A7=E3 =A7=DF=A7=D1=A7=DA=A7=DD=A7=E5=A7=E9=A7=EA= =A7=DA=A7=DE=A7=DA =A7=E1=A7=E0=A7=D8=A7=D6=A7=DD=A7=D1=A7=DF=A7=DA=A7=F1= =A7=DE=A7=DA, >>> Alexei Fedotov / =A7=A1=A7=DD=A7=D6=A7=DC=A7=E3=A7=D6=A7=DB =A7=B6=A7= =D6=A7=D5=A7=E0=A7=E4=A7=E0=A7=D3, >>> http://www.telecom-express.ru/ >>> http://harmony.apache.org/ >>> http://www.expressaas.com/ >>> http://openmeetings.googlecode.com/ >>> >> -- >> http://people.apache.org/~xli >> > -- > http://people.apache.org/~xli > --=20 http://people.apache.org/~xli