GoogleCloudPlatform / opentelemetry-operations-java

Apache License 2.0
71 stars 41 forks source link

Switch to ConcurrentMap for thread-safety #328

Closed psx95 closed 4 months ago

psx95 commented 4 months ago

Switching to concurrentHashMap since the performance impact is minimal and we gain thread-safety when accessing/updating the attribute cache.

dashpole commented 4 months ago

Does this fix any open issues?

psx95 commented 4 months ago

Does this fix any open issues?

No, it is just an enhancement for standalone usages of this artifact, which are rare.