From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11156 invoked by alias); 22 Jun 2009 22:50:04 -0000 Received: (qmail 11143 invoked by uid 22791); 22 Jun 2009 22:50:03 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f222.google.com (HELO mail-fx0-f222.google.com) (209.85.220.222) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Jun 2009 22:49:53 +0000 Received: by fxm22 with SMTP id 22so4212250fxm.8 for ; Mon, 22 Jun 2009 15:49:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.144.138 with SMTP id o10mr625794hba.79.1245710990989; Mon, 22 Jun 2009 15:49:50 -0700 (PDT) In-Reply-To: References: <89D1A14F-5454-4E48-8F99-8EAD9C2066A1@ekse.de> <7230133d0906190247s60d1565ew109d48c01a4934ea@mail.gmail.com> Date: Mon, 22 Jun 2009 22:50:00 -0000 Message-ID: <7230133d0906221549r56981795sd907a5ea3a18693c@mail.gmail.com> Subject: Re: Howto: Profiling GCJ code? From: Bryce McKinlay To: =?ISO-8859-1?Q?Patrick_Sch=E4fer?= Cc: java@gcc.gnu.org, Ian Rogers Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00058.txt.bz2 On Mon, Jun 22, 2009 at 8:25 PM, Patrick Sch=E4fer wrote: > thank you for the help! > > oprofiler is quite troublesome to build on my mac os x as there a lots of > libraries missing. currently "bfd" (-lbfd) is missing. > > therefor I am still not sure if java.nio is the main reason for the > performance bottleneck but apache mina is also capable of using APR as a > transport layer (instead of java.nio). =A0that could improve overall > performance too. oprofile requires explicit kernel support to work, and as far as I know, it only works on Linux. In OS X you could try Shark, which comes with Apple's developer tools. I don't know how well it plays with libgcj, but it's probably worth a shot. Bryce