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.

Incorrect Own Time

Moderators: Vladimir Kondratyev, Anton Katilin

Incorrect Own Time

Postby andrew.schmidt » Wed Jun 05, 2019 1:36 pm

We just purchased the latest version of yourkit and noticed incorrect own times.

Running under wildfly 15 we have a servlet Filter:

Code: Select all
@WebFilter( "/*" )
@SuppressWarnings( "unused" )
public class SessionInvalidationFilter implements Filter

    public void doFilter( ServletRequest request, ServletResponse response, FilterChain chain ) throws IOException, ServletException
            chain.doFilter( request, response );



After hitting our rest endpoint repeatly, yourkit reports the above doFilter having Time of 852,996 and Own time of 787,034.

Since this method does virtually nothing, how does it have so much own time? The call out to chain.doFilter says it's time is 65,759
Posts: 1
Joined: Wed Jun 05, 2019 1:32 pm

Re: Incorrect Own Time

Postby Anton Katilin » Thu Jun 06, 2019 6:11 am

Own time depends on applied filters: https://www.yourkit.com/docs/java/help/filters.jsp
Please try expanding filtered calls or turn filters off.

If this doesn't work for you please send the snapshot file to [email protected]
Anton Katilin
Posts: 6028
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


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.