HashMap are not thread safe, even when reading,
so we can't use them outside of synchronized blocks,
else we can have some random crash or data/result
inconsistencies between threads.
ConcurrentHashMap is a well optimised beast, so use it.
Signed-off-by: Etienne CHAMPETIER <firstname.lastname@example.org>
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* SynchronizerImpl: use ConcurrentHashMap
-- File Changes --
M src/org/jitsi/impl/neomedia/recording/SynchronizerImpl.java (55)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: