advance object generation / heap dumps

Questions about YourKit Java Profiler
Post Reply
ajvdberg
Posts: 4
Joined: Fri Jul 09, 2021 1:02 pm

advance object generation / heap dumps

Post by ajvdberg »

Hi,

I am not able to connect with Yourkit direct to the system
I wonder how i can use advance generation number within the command line

like
java -jar yjp-controller-api-redist.jar localhost 10002 <> or using the api
Because i want to play with this option to check the increase/age of certain objects
I will add a screenshot to this topic

Regards,
Arjan
ajvdberg
Posts: 4
Joined: Fri Jul 09, 2021 1:02 pm

Re: advance object generation / heap dumps

Post by ajvdberg »

ajvdberg wrote:Hi,

I am not able to connect with Yourkit direct to the system
I wonder how i can use advance generation number within the command line

like
java -jar yjp-controller-api-redist.jar localhost 10002 <> or using the api
Because i want to play with this option to check the increase/age of certain objects
Check below the official yourkit documentation

https://www.yourkit.com/docs/java/help/generations.jsp

(First topic on this page)



Regards,
Arjan
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: advance object generation / heap dumps

Post by Anton Katilin »

Hello Arjan,

Please use the Controller's advanceGeneration() method:
https://www.yourkit.com/docs/java/api/c ... ng.String)

Using the Controller API:
https://www.yourkit.com/docs/java/help/api.jsp

Best regards,
Anton
Post Reply