An Alternative Hashing Alternative

Doug Lea dl at cs.oswego.edu
Wed Jun 6 19:09:31 UTC 2012


On 06/06/12 15:03, Rémi Forax wrote:
> tryMonitorEnter is the equivalent of tryLock for synchronized block
> (monitorEnter/monitorExit).

Sorry; yes. This method exists, but seems to be designed to only be used
in unusual situations. So the performance is dreadful on JVMs I've
tried it on. Working on this method to try to make it perform well
enough to use in performance-sensitive code might make a good
project for someone.

-Doug





More information about the core-libs-dev mailing list