geforkt von Mirrors/Paper
db2502d732
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. |
||
---|---|---|
.. | ||
advancements | ||
commands | ||
core | ||
nbt | ||
network | ||
resources | ||
server | ||
stats | ||
util | ||
world | ||
ChatFormatting.java.patch | ||
CrashReport.java.patch | ||
CrashReportCategory.java.patch | ||
Util.java.patch |