PaperMC/paper-server/patches/sources
Antony Riley db2502d732 Sanitise RegionFileCache and make configurable
RegionFileCache prior to this patch would close every single open region
file upon reaching a size of 256.
This patch modifies that behaviour so it closes the the least recently
used RegionFile.
The implementation uses a LinkedHashMap as an LRU cache (modified from HashMap).
The maximum size of the RegionFileCache is also made configurable.
2016-03-29 08:22:55 +03:00
..
com/mojang MC Utils 2016-03-28 20:55:47 -04:00
net/minecraft Sanitise RegionFileCache and make configurable 2016-03-29 08:22:55 +03:00