Plex-FAWE/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter
Spottedleaf 0d18b15393 Workaround for replacing PlayerChunkMap#visibleChunks field
I run a fork of paper which replaces the visibleChunks and updatingChunks
field for gc performance reasons - visibleChunks is updated via
cloning updatingChunks, and at high chunk counts this causes gc issues
due to the humongous allocation. Unfortunately the only solution is to
not clone the map - which is why the field is removed.

Instead of BukkitAdapter#getPlayerChunk using the visibleChunks field,
it now uses a MethodHandle for PlayerChunkMap#getVisibleChunk. This method is
present on spigot & paper (only protected on spigot - which is why reflection is required),
and I preserve the same thread-safety it provides in my fork - so this solution
will not break compatibility with craftbukkit, spigot, and paper.
2020-02-22 07:07:40 -08:00
..
mc1_14 Remove CFI redirect and other minor changes. 2020-02-21 14:56:21 -05:00
mc1_15 Remove CFI redirect and other minor changes. 2020-02-21 14:56:21 -05:00
mc1_15_2 Workaround for replacing PlayerChunkMap#visibleChunks field 2020-02-22 07:07:40 -08:00
BukkitQueueHandler.java Remove some reflection from QueueHandler 2020-01-29 14:33:41 -05:00
DelegateLock.java Minor code quality changes 2020-02-07 14:33:51 -05:00
FaweAdapter_All.java Revert migration of FaweCache to Kotlin 2020-01-29 15:01:38 -05:00
MapChunkUtil.java 1.15 (wip) 2019-12-11 02:11:52 +01:00
NMSAdapter.java API improvements 2020-01-15 20:38:46 -05:00