RFR: 8320649: C2: Optimize scoped values [v4]

Dean Long dlong at openjdk.org
Fri Jan 5 23:13:21 UTC 2024


On Fri, 5 Jan 2024 10:16:24 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Maybe I'm misunderstanding this question, but that's what the scoped value cache does.

@theRealAph I guess it boils down to whether the hash value can be treated as a compile-time constant, which seems possible because it's marked final.

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

PR Comment: https://git.openjdk.org/jdk/pull/16966#issuecomment-1879365710


More information about the hotspot-compiler-dev mailing list