Commit 005aa33
Caching the primaryInstrumentationName (#10477)
Caching the primaryInstrumentationName
Caching the primaryInstrumentationName to avoid repeatedly calling instrumentationNames() and constantly allocating a String[]
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Switched to storing into final field
Realized that the caching is unnecessary complication
Just use a final field instead
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Fixing visibility
Merge branch 'dougqh/cache-primary-instrumentation-name' of github.com:DataDog/dd-trace-java into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Merge branch 'master' into dougqh/cache-primary-instrumentation-name
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>1 parent 2ec3a87 commit 005aa33
1 file changed
Lines changed: 15 additions & 5 deletions
File tree
- dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/instrumentation/decorator
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
83 | 97 | | |
84 | 98 | | |
85 | 99 | | |
| |||
152 | 166 | | |
153 | 167 | | |
154 | 168 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 169 | + | |
160 | 170 | | |
161 | 171 | | |
162 | 172 | | |
| |||
0 commit comments