summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/ChunkProviderServer.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-06-16 18:52:30 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-06-21 21:03:00 -0500
commitea126f98adfb3a54c1b0defb262ff583127b52b3 (patch)
tree887e170c1be990ddc3841130d3ef3fe3c095e973 /src/main/java/net/minecraft/server/ChunkProviderServer.java
parente6a2feda2080071d63b4643c2924d4a9ce089300 (diff)
downloadcraftbukkit-ea126f98adfb3a54c1b0defb262ff583127b52b3.tar
craftbukkit-ea126f98adfb3a54c1b0defb262ff583127b52b3.tar.gz
craftbukkit-ea126f98adfb3a54c1b0defb262ff583127b52b3.tar.lz
craftbukkit-ea126f98adfb3a54c1b0defb262ff583127b52b3.tar.xz
craftbukkit-ea126f98adfb3a54c1b0defb262ff583127b52b3.zip
Don't check unload queue before ticking things anymore.
In commits 71a238ee and c8591397 we added checks while ticking to ensure we never ticked anything in a chunk meant to be unloaded. We did this to prevent these chunks being removed from the unload queue and leaked. However, this causes a ridiculously large number of lookups on the queue for a somewhat rare occurance. We also now have the chunk GC which will take care of these leaked chunks when they do happen. With this in mind we now remove these checks which removes almost all uses of the LongHashSet backing the unload queue.
Diffstat (limited to 'src/main/java/net/minecraft/server/ChunkProviderServer.java')
0 files changed, 0 insertions, 0 deletions