On Fri, 15 Jan 2021 16:49:57 GMT, Roger Riggs <rri...@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.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2102

Reply via email to