mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
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. |
||
---|---|---|
.. | ||
status | ||
storage | ||
ChunkAccess.java.patch | ||
ChunkGenerator.java.patch | ||
ChunkGeneratorStructureState.java.patch | ||
DataLayer.java.patch | ||
EmptyLevelChunk.java.patch | ||
LevelChunk.java.patch | ||
LevelChunkSection.java.patch | ||
ProtoChunk.java.patch |