OpenSearch/server
Stuart Tettemer 71a42dbde9
[7.x] Rely on the computeIfAbsent logic to prevent duplicated compilation of scripts (#55467) (#58123)
Instead of serializing compilation using a plain lock / mutex combined with a double check, rely on the computeIfAbsent logic to prevent duplicated compilation of scripts. Made checkCompilationLimit to be thread-safe and lock free.

Backport: 865acad

Co-authored-by: Michael Bischoff <michael.bischoff@elastic.co>
2020-06-15 12:01:22 -06:00
..
licenses Update to lucene snapshot e7c625430ed (#57981) 2020-06-11 14:51:53 +01:00
src [7.x] Rely on the computeIfAbsent logic to prevent duplicated compilation of scripts (#55467) (#58123) 2020-06-15 12:01:22 -06:00
build.gradle Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00