summaryrefslogtreecommitdiff
path: root/gradle/libs.versions.toml
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-07-29 16:59:16 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-07-29 16:59:16 +0200
commit0f7773e8546ad2fdc6ea44a1bbc0a5d82399667f (patch)
tree3b064619743c0063a0b8bf21d9240b8dc5502f67 /gradle/libs.versions.toml
parent6d5734447048552c46a5c46dbf630f0e5be50765 (diff)
fix(trace/api): Do not cache trace formats
This change updates the TraceFormat lookup algorithm to prevent caching the available trace format on first access. Since the result of ServiceLoader depends on the Thread's context ClassLoader, they may differ between different threads. Furthermore, ServiceLoader maintains its own thread-local cache, so we can instead utilize that cache and always use the results returned by it.
Diffstat (limited to 'gradle/libs.versions.toml')
0 files changed, 0 insertions, 0 deletions