Changes

Summary

  1. Remove DataWatcher Locking (details)
Commit 9a643a6af514ba081c8b828a939bc4eb921a5089 by md_5 (md_5)
Remove DataWatcher Locking

The lock in DataWatcher is used to prevent concurrent modifications,
however any modifications to this map only occur on initialization of
an Entity in its constructor.

Every other access is through a readlock, which allows the threads to
pass if there is no thread holding the writelock.

Since the writelock is only obtained in the constructor of the Entity,
the further readlocks are actually useless.

This patch also changes the entries map to be fastutil
int2objectopenhashmap for performance.
The file was addedCraftBukkit-Patches/0108-Remove-DataWatcher-Locking.patch