Is there a significant performance impact for thread safety, and if so can we consider alternative options?

Hi @PeaDubYa

I am not aware of accurate benchmarks about the overhead due to our attempts to preserve thread-safety. There has been a very recent remark (yesterday) here about the time scales.

From my experience, intuition is often insufficient about bottlenecks, so we really need to set up full-blown instrumentation and monitoring tools before we can draw any conclusions, and this of course will depend on the use case. For performances analyses, we used to rely on YourKit, Maxime recently pointed me to VisualVM too as I don’t have access to a YourKit licence anymore. I don’t know if these tools provide information about multi-thread bottlenecks or if they are accurate enough to pinpoint to the code we added for thread safety.