Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTrace checks only first return in traced method #426

Closed
mgazizova opened this issue Oct 28, 2020 · 0 comments
Closed

BTrace checks only first return in traced method #426

mgazizova opened this issue Oct 28, 2020 · 0 comments
Assignees
Milestone

Comments

@mgazizova
Copy link

Hello!

I analyzed the report from BTrace-agent and found a zero duration for some methods. These methods have several returns. If traced method use second (or next) written return the @Duration param is 0.

Probably, bTrace checks only first return in method and can't check other. I think it spoils statistic results.
I use openjdk version "11.0.6", BTrace 2.0.2.

You can download example code here to repeat

Would you mind fix this problem?

@jbachorik jbachorik self-assigned this Nov 7, 2020
@jbachorik jbachorik added this to the 2.0.3 milestone Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants