Skip to content

BTrace checks only first return in traced method #426

@mgazizova

Description

@mgazizova

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions