Does the reading of multithreaded HashMap need to be synchronized? This problem has been bothering me. I don't think it's necessary
Comment From: pivotal-issuemaster
@rengy-github Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@rengy-github Thank you for signing the Contributor License Agreement!
Comment From: rengy-github
Using synchronized only with put improves performance
Comment From: rengy-github
I know it's not thread safe to use synchronization only when putting,But occasionally SQL is parsed twice without any problem
Comment From: rengy-github
i think parse a sql multiple times better than blocking other thread while get sql
Comment From: rengy-github
My puzzle is whether there is problem with the other thread get when one thread puts
Could send me a link about this, thank you
Comment From: snicoll
There has been a number of changes that leave the current proposal of returning null if the key is not set, which is a breaking change.