RFR: 8259842: Remove Result cache from StringCoding
redestad at openjdk.java.net
Fri Jan 15 18:07:03 UTC 2021
On Fri, 15 Jan 2021 16:49:57 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Interesting, I was/am in the middle of converting Result to be a Valhalla primitive class to reduce the memory pressure and had written some new jmh tests too.
> And to reduce the dependency on ThreadLocals.
Ok, I expect that would end up at similar performance while retaining the separation of concerns. But this way we're not dependent on valhalla to get rid of the TLs.
I'd be happy to add more JMH tests here. I expected this area to already have some, but it seems all the micros added during the work on compact strings work in JDK 9 are unaccounted for.
More information about the core-libs-dev