[hibernate-dev] Re: Design of threadsafe, immutable internal components

2020-10-29 Thread Steve Ebersole
Overall I generally agree and as far as I have ever heard using the concurrent form of hash-map rather than the non-concurrent one is a minimal overhead if at all, so why not. The way most of these Maps are used are already concurrency safe. So as long as we mean to simply keep this in mind when

[hibernate-dev] Design of threadsafe, immutable internal components

2020-10-29 Thread Sanne Grinovero
Hi all, I'm inspecting some old code, and regularly finding a pattern which isn't entirely correct; it's not a big deal as it seems to not cause any problems so far in practice (expect the one I'm working on!), but I'll share this in hope we can slowly improve such things while evolving the