diff options
author | Googler <noreply@google.com> | 2018-08-13 07:55:35 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-13 07:57:14 -0700 |
commit | 90729a57a865c08fe561be6a49734582becfbb53 (patch) | |
tree | 76b5ac5d48216dbeafa34b9ab6f0b0a27aa3ea54 /third_party/opencensus/opencensus-api-0.11.0.jar | |
parent | ea168de2b7929277366ba27028fc4c8af2fa9235 (diff) |
Fix lock contention in Reporter.startTask/.finishTask by:
- Using a thread-safe container to store handlers.
- Using a ThreadLocal NumberFormat to produce readable action counts.
NumberFormat (or rather the default implementation DecimalFormat) use
internal state and locking.
- Adding a lock-free fast path for START and FINISH events in
ExperimentalEventHandler.
RELNOTES: None.
PiperOrigin-RevId: 208479896
Diffstat (limited to 'third_party/opencensus/opencensus-api-0.11.0.jar')
0 files changed, 0 insertions, 0 deletions