Hello ZooKeeper, I found this interesting issue on JDK mailing lists https://github.com/openjdk/jdk/pull/542/files
It is about the fact that in JDK15 Biased Locking is disabled by default and DataOutputStream is slower in some cases. Are you running on JDK15 ? Have you ever seen any performance regression ? It looks like we are using DataOutputStream Regards Enrico