I didn't catch that; I was remarking with Vulcan-like passion on the results. Based on other benchmarks with substantial VM jumps toward more modern releases, I would expect the opposite (typically you seem to get performance for free; almost like the early halcyon days of Moore's law, where stuff just ran faster every year).
It would definitely be worthwhile to have better data to make judgements from though.
The thing about biased locking is that it helps in some situations, hurts in others, and the assumption is that the former is becoming increasingly rare -- i.e. very frequent use of synchronized in on objects used by a single thread. Due to this being in Clojure's lazy seq, I thought it's worth alerting the Clojure community that this might an issue to look into. With biased locking probably going away, there's obviously little motivation to improve its performance or even prevent regressions.
2
u/joinr Sep 16 '20
I didn't catch that; I was remarking with Vulcan-like passion on the results. Based on other benchmarks with substantial VM jumps toward more modern releases, I would expect the opposite (typically you seem to get performance for free; almost like the early halcyon days of Moore's law, where stuff just ran faster every year).
It would definitely be worthwhile to have better data to make judgements from though.