Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 57350 invoked from network); 30 Mar 2007 02:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 02:30:13 -0000 Received: (qmail 55916 invoked by uid 500); 30 Mar 2007 02:30:15 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 55876 invoked by uid 500); 30 Mar 2007 02:30: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 55867 invoked by uid 99); 30 Mar 2007 02:30:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 19:30:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of firepure@gmail.com designates 64.233.162.227 as permitted sender) Received: from [64.233.162.227] (HELO nz-out-0506.google.com) (64.233.162.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 19:30:06 -0700 Received: by nz-out-0506.google.com with SMTP id j2so305636nzf for ; Thu, 29 Mar 2007 19:29:46 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=JhNfhV+wSUkNUjp/wDWRGLGjl2n9Txl0nzfeYjpaf7Rwszw7vLNXjGgBAUMV0bIG/4ytJPphoMYgQaRvvBfxdUvjx0OIG1FO8k6WZ14AlmdMQXBWzHiYYlXgIBPfu1i3uqFwLEir5vGIjLtjtsG2tzIMq5Buo4wy0nbsZJpm5MY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=URNr4qyy1O4KJYZVzYJsOMDh6YQdPTLyGBsG4gU9iWF9QqgHwjyid01tUxbpvJi+t1Xod4VZ+N+9hSGy4u5u/PR0Qh+otcP5NglP0+RBIW9VzVkzvC7nsKxoeg4rpkL7pj17iu0xujqFGVgKzI7/oBU3dy3j6iDjeS/Puf4vHP8= Received: by 10.114.80.4 with SMTP id d4mr536997wab.1175221785878; Thu, 29 Mar 2007 19:29:45 -0700 (PDT) Received: by 10.114.92.8 with HTTP; Thu, 29 Mar 2007 19:29:45 -0700 (PDT) Message-ID: <5c8e69f0703291929l3c24824et533743bffe98dc98@mail.gmail.com> Date: Fri, 30 Mar 2007 10:29:45 +0800 From: "=?GB2312?B?THZKaW1teaOsSmluZw==?=" To: dev@harmony.apache.org Subject: [Classlib][General] Looking for some profiler tools to use MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, Harmony has reach 95% API coverage, IMHO it may be a good time to start performance profiler/tuning. If so, I'd like to do some performance profiler on Harmony Classlib from now on ;) In order to look for performance bottleneck, we need some profiler tools. I've looked for some profiler to use in the while, but none of them work perfectly. I've tried yourkit (with a evaluation key, I try this because it looks powerful and may offer a Open source project license for free), seems it check VM version and ask for sun's jdk or IBM sdk5, so Harmony fails on it (with DRLVM or IBMVME, I haven't try other VM yet. There's also some open source profiler. JRat works well with some of benchmarks, but we can not use it with Harmony kernel classes and some kernel-related class(e.g. Hashtable), as it uses a instrumentation machnism and causes a circular reference. And some other open source profilers use JVMPI but Harmony even can not run on it at all (if I do not mis-configure something). In all, I think we need a profiler that: 1. use JVMTI, avoid instrumentation that may causes a circular reference, and it is better that it do not use old JVMPI, for Harmony is J2SE5 classlib; 2. Do not check VM version, that means, use public API as JVMTI, in this way Harmony-compatible VM can work well on it 3. stable and powerful :) Of course it'll be better if the profiler has a UI, but it is not necessary. Do someone have some experience on profilers? Can someone tell if there's a good profiler for Harmony classlib? Thanks! -- Best Regards! Jimmy, Jing Lv China Software Development Lab, IBM