-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix Where signature #7735
Merged
Merged
Fix Where signature #7735
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in Where::convertLineToMethod method we are converting a Where with a line to a new Where as a method + signature matching the line However the signature was the JVM descriptor and therefore does not match with the way we are using it for matching instrumentation that expect a java signature
evanchooly
approved these changes
Oct 4, 2024
@@ -65,7 +65,7 @@ public String createProbeForFrame(String signature) { | |||
AgentSpan span = AgentTracer.activeSpan(); | |||
if (!isAlreadyInstrumented(fingerprint)) { | |||
Where where = | |||
Where.convertLineToMethod( | |||
Where.of( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Debugger benchmarksParameters
See matching parameters
SummaryFound 5 performance improvements and 0 performance regressions! Performance is the same for 4 metrics, 6 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (301.129 µs) : 267, 335
. : milestone, 301,
basic (296.174 µs) : 285, 307
. : milestone, 296,
loop (10.818 ms) : 10762, 10873
. : milestone, 10818,
section candidate
noprobe (295.613 µs) : 269, 322
. : milestone, 296,
basic (304.016 µs) : 296, 312
. : milestone, 304,
loop (10.291 ms) : 10261, 10321
. : milestone, 10291,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
in
Where::convertLineToMethod
method we are converting a Where with a line to a new Where as a method + signature matching the line However the signature was the JVM descriptor and therefore does not match with the way we are using it for matching instrumentation that expect a java signatureMotivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]