RFR: 8278020: ~13% variation in Renaissance-Scrabble

Ioi Lam iklam at openjdk.java.net
Wed Dec 15 04:27:04 UTC 2021


On Wed, 15 Dec 2021 01:45:35 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Yes, this small change is good for JDK 18. Is it possible for JDK 19 (or later) to make CDS segmented to separate different types of data (Klass, Method, etc)?

It's possible to make CDS segmented so that the Klasses are allocated together. That can be done in 19.

> An other experiment could be done is to add padding (space) before Klass data to make sure it is in different cache line.

That's a good idea. I will try that to see if it has the same effect as the current patch.

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

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


More information about the hotspot-dev mailing list