mpt failed :
“sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the
process”
Is it somehow possible to compute sizes of classes loaded in perm gen?
Thanks,
Sergei
gei,
>>
>> Does you need this information for coredump or for live process?
>>
>> -Dmitry
>>
>>
>> On 2014-03-19 17:24, Sergei Mihhailov wrote:
>>> Greetings,
>>>
>>> I’m writing special purpose java agent to compute sizes of classes
&
compute sizes of classes
loaded in perm gen. Basically reimplementing some functionality of “jmap
-permstat”. But in order to do that, I need to get instances of
InstanceKlass for all loaded classes.
I’ve looked up PermStat source code, and tried to use it internally in
my agent using its start() method
Sergei,
Does you need this information for coredump or for live process?
-Dmitry
On 2014-03-19 17:24, Sergei Mihhailov wrote:
> Greetings,
>
> I’m writing special purpose java agent to compute sizes of classes
> loaded in perm gen. Basically reimplementing some functional
; and JVMTI agent.
>>
>> Are you suggesting that I should write Serviceability Agent instead? If
>> yes, then could you please pinpoint me into the right direction? Because it
>> wasn't clear to me how can I write my own custom Serviceability Agent.
>>
>> By
Thank you for response, Kris!
The only goal I'm trying to achieve is to to compute sizes of classes
loaded in perm gen.
As I've understood, this is possible only by using Serviceability Agent?
- Sergei
On 20.03.2014 00:12, Krystal Mok wrote:
Hi Sergei,
"jmap -permstat
gt; yes, then could you please pinpoint me into the right direction? Because it
> wasn't clear to me how can I write my own custom Serviceability Agent.
>
> By the way, is it possible to compute sizes of classes loaded in perm gen
> only by using "Java Agent" and JVMTI age
the way, is it possible to compute sizes of classes loaded in perm gen only by using “Java Agent” and JVMTI agent?- Sergei 19.03.2014, 17:39, "Krystal Mok" :Hi Sergei, Are you using PermStat in the context of Serviceability Agent? In other words, is the agent you're writing a "
the way, is it possible to compute sizes of classes loaded in perm gen only by using “Java Agent” and JVMTI agent?- Sergei 19.03.2014, 17:39, "Krystal Mok" :Hi Sergei, Are you using PermStat in the context of Serviceability Agent? In other words, is the agent you're writing a "
ect to the target VM from the other types of
agents, so you can't mix them up.
- Kris
On Wednesday, March 19, 2014, Sergei Mihhailov wrote:
> Greetings,
>
> I'm writing special purpose java agent to compute sizes of classes loaded
> in perm gen. Basically reimplementing
Greetings,
I'm writing special purpose java agent to compute sizes of classes
loaded in perm gen. Basically reimplementing some functionality of "jmap
-permstat". But in order to do that, I need to get instances of
InstanceKlass for all loaded classes.
I've looked up
11 matches
Mail list logo