Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
730882fca9
Chunk system patch was refactored to take advantage of newer ConcurrentUtil's concurrent long hash table (which fixes hash collisions caused by chaining fastutil's long hash and CHM's hash) plus some other minor improvements. The chunk system was also merged with Starlight, which mostly provides a small improvement to ThreadedLevelLightEngine#checkBlock as the scheduling was rewritten.
33 Zeilen
1.2 KiB
Plaintext
33 Zeilen
1.2 KiB
Plaintext
- Starlight fixlight command + method on light engine (note: add to mod to, after done this)
|
|
- note: for paper, the chunk debug command
|
|
- rebase IntervalledCounter into util patch
|
|
- mcutil diff
|
|
- paper debug chunks --async in DedicatedServer
|
|
- TODO keep around region file lock?
|
|
- mcutil#getTicketLevelFor is wrong, just delete it later
|
|
- in the mod:
|
|
- ChunkHolder
|
|
- isReadyForSaving overwrite
|
|
- remove state fields in mod
|
|
- addSaveDependency overwrite
|
|
- ChunkMap
|
|
- pendingUnloads/pendingGenerationTasks/unloadQueue/ field destroy
|
|
- DistanceManager
|
|
- getTickets/dumpTickets/tickingTracker/ overwrite
|
|
- GenerationChunkHolder
|
|
- remove state fields in mod
|
|
- rescheduleChunkTask/failAndClearPendingFuturesBetween/failAndClearPendingFuture/completeFuture/
|
|
findHighestStatusWithPendingFuture/acquireStatusBump/isStatusDisallowed/ overwrite
|
|
- LayerLightEngine
|
|
- getDebugSectionType overwrite
|
|
- ThreadedLayerLightEngine
|
|
- waitForPendingTasks overwrite
|
|
|
|
on another note, clean up mcutils...
|
|
|
|
later, run a diff compared to the mod and move all of the diff to separate classes
|
|
apply todo in levelmixin
|
|
|
|
to fix later:
|
|
- Change loadedChunkMap in ServerChunkCache to use concurrent long map
|