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.

Callback method parameter annotation @OnEnterResult

Callback parameter annotated with @OnEnterResult will be assigned with a value returned from onEnter() defined in the same probe class. This approach enables effective way of data transfer between method enter and exit callbacks (the value is stored in the stack).

In which callbacks can be used

Parameter annotated with @OnEnterResult can be used in onReturn(), onUncaughtException() and onUncaughtExceptionExt(), and only if the probe class has non-void onEnter() defined.

Declaration type

Parameter annotated with @OnEnterResult must be declared with the same type as the return type of onEnter(). If onEnter() is declared void, @OnEnterResult cannot be used.

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.