Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 20:46:05 -0800
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Brian Gardner <brian@experts-exchange.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jmap
Message-ID:  <20090108044605.GA26885@misty.eyesbeyond.com>
In-Reply-To: <4963E688.2060005@experts-exchange.com>
References:  <4963E688.2060005@experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 06, 2009 at 03:17:28PM -0800, Brian Gardner wrote:
> I'm trying to use jmap to dump a histo of a running vm, version 
> jdk-1.6.0.3p4_6.  jmap keeps returning the following error, 'no 
> providers installed'.  Are these tools supposed to function?  If not are 
> there any alternates?
> 
> $ /usr/local/jdk1.6.0/bin/jps
> 72095 Jps
> 88259 Bootstrap
> 
> $ /usr/local/jdk1.6.0/bin/jmap -histo 88259
> 88259: no providers installed
> 
> $ ps -jax | grep 88259
> ee         88259     1 88249 87874    0 I     p0   15:39.48 [java]
> ee         72142 72094 72141 88505    2 R+    p1    0:00.00 grep 88259

I don't know for sure, but I'm guessing that jmap requires a
serviceability agent, which there isn't an implementation of for
FreeBSD yet.  We basically just either skip building or stub out
all the code for that.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090108044605.GA26885>