Currently our `WeakConcurrentMap` is only cleaned of stale entries when it is accessed. There is an option to clean from a background thread, but this creates a separate thread for every map. This pr introduces a single background thread that cleans all maps. I removed the option to create a thread per map as we don't use it, if there is interest I could attempt to find a way to add it back. Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com> |
||
---|---|---|
.. | ||
javaagent-tooling-java9 | ||
src | ||
build.gradle.kts |