RFR (XS) 8216049: stringTable::intern creates redundant String when looking up existing one

Aleksey Shipilev shade at redhat.com
Fri Feb 15 19:46:54 UTC 2019


On 2/15/19 8:41 PM, gerard ziemski wrote:
> hi Aleksey,
> 
> The change looks reasonable and the code inspection seems to corroborate that an improvement should
> be expected, but I'd like to know whether we have any hard numbers from current benchmarks that
> validate the intended goal was achieved and by how much?

There is a comment in the linked bug that gives the historical perspective across 8, 11, 13 and
relevant fixes:

https://bugs.openjdk.java.net/browse/JDK-8151751?focusedCommentId=14236655&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14236655

My goal was to at least recuperate the regressions accrued since 8. This patch serves the secondary
goal of providing even more headroom for future regressions :) This patch gives us up to +50%
throughput on top of the fixes we did in other places.

Thannks,
-Aleksey





More information about the hotspot-runtime-dev mailing list