jstat does not accept program names as vmid?

Robbin Ehn robbin.ehn at oracle.com
Tue Jun 19 11:53:57 UTC 2018


Hi,

On 06/18/2018 05:56 PM, Alan Bateman wrote:
> On 16/06/2018 18:23, Thomas Stüfe wrote:
>> :
>>
>>
>> Is that by design?
>>
> It's pluggable. The two built-in vmid formats are the pid and pid at host for local 
> and remote respectively. I don't recall any discussion here about identifying an 
> application by name. I assume there would at least be issues with uniqueness.

I believe this question comes from the fact that jcmd can use a main class 
instead of a pid. There are several discrepancies between various j executables.

/Robbin

> 
> -Alan


More information about the serviceability-dev mailing list