Dismal performance of String.intern()

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Aug 5 18:29:54 UTC 2013

On 08/05/2013 10:15 PM, Ioi Lam wrote:
> I have problems building your test. Could you send a stand-alone test
> that can be build with plain JDK (i.e., exclude things like
> com.google.common. and  org.openjdk.jmh)?

I would strongly advise against dropping JMH. Maintaining the benchmark
with JMH is the way to overcome many of the benchmarking pitfalls we
would introduce with custom tests. Depending on Guava is the blocker
though, since we can not have this dependency in OpenJDK before prior
legal review.


More information about the core-libs-dev mailing list