[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: jstat does not accept program names as vmid?
From:       Thomas_Stüfe <thomas.stuefe () gmail ! com>
Date:       2018-06-19 12:00:28
Message-ID: CAA-vtUytjAuy1AZM4P5R_TRPrMB9DgopXBff5V0SEhOgdqb1=A () mail ! gmail ! com
[Download RAW message or body]

Hi Alan, Robbin,

On Tue, Jun 19, 2018 at 1:53 PM, Robbin Ehn <robbin.ehn@oracle.com> wrote:
> Hi,
>
> On 06/18/2018 05:56 PM, Alan Bateman wrote:
>>
>> On 16/06/2018 18:23, Thomas St=C3=BCfe wrote:
>>>
>>> :
>>>
>>>
>>> Is that by design?
>>>
>> It's pluggable. The two built-in vmid formats are the pid and pid@host f=
or
>> local and remote respectively. I don't recall any discussion here about
>> identifying an application by name. I assume there would at least be iss=
ues
>> with uniqueness.
>
>
> I believe this question comes from the fact that jcmd can use a main clas=
s
> instead of a pid. There are several discrepancies between various j
> executables.
>

Yes, exactly. Since I am more at home with jcmd, I was surprised by
the different semantics, especially since both parameters are termed
"vm id".

I would have not been surprised at all (or, only pleasantly so :) had
jstack allowed to connect to multiple VMs too.

..Thomas

> /Robbin
>
>>
>> -Alan
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic