BungeeCord/event/src
Tux 59208aad86 Improve EventBus by removing read locking.
This is primarily done by using ConcurrentHashMap, which has lock-free reads and thread-contention-based writes. Only one thread at a time can register threads, however, as baking events isn't thread safe (and there's no reason to make it thread-safe anyway).

My own benchmarks indicate 1.4-2.2 million operations/ms throughput and approximately ~1ns/event post for four threads posting events.
2015-09-05 13:33:18 +10:00
..
main/java/net/md_5/bungee/event Improve EventBus by removing read locking. 2015-09-05 13:33:18 +10:00
test/java/net/md_5/bungee/event Fix formatting issue pointed out in #1370 2015-02-14 18:21:24 +11:00