gradle
gradle copied to clipboard
Use guava cache instead of Map for CachingToolingImplementationLoader
The team city agent is very long running and therefore runs into OutOfMemory when we cache things for to long. The assumption is 15 different gradle versions, which is implied by the max cache size, seems to be enough for all use cases and if not there is just a small performance penalty. Same goes for the 7 days expiration time. expiration is handle on normal access methods not by some background event magic.
Reviewing cheatsheet
Before merging the PR, comments starting with
- ❌ ❓must be fixed
- 🤔 💅 should be fixed
- 💭 may be fixed
- 🎉 celebrate happy things
@bot-gradle test ACTR
I've triggered the following builds for you. Click here to see all build failures.
@bot-gradle test ACTR
I've triggered the following builds for you. Click here to see all build failures.