Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

advance object generation / heap dumps

Moderators: Vladimir Kondratyev, Anton Katilin

advance object generation / heap dumps

Postby ajvdberg » Mon Aug 30, 2021 10:28 am

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

Postby ajvdberg » Mon Aug 30, 2021 2:43 pm

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
ajvdberg
 
Posts: 4
Joined: Fri Jul 09, 2021 1:02 pm

Re: advance object generation / heap dumps

Postby Anton Katilin » Mon Aug 30, 2021 3:38 pm

Hello Arjan,

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

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

Best regards,
Anton
Anton Katilin
 
Posts: 6064
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.