Commits


Spottedleaf authored and md_5 committed 9a643a6af51
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.