RFR: 8279619: [JVMCI] improve EncodedSpeculationReason

Doug Simon dnsimon at openjdk.org
Fri Mar 3 15:56:33 UTC 2023


On Mon, 13 Feb 2023 12:22:01 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR enhances `jdk.vm.ci.meta.EncodedSpeculationReason.encode` such that the `groupName` parameter is included in the encoding. This mitigates the possibility of 2 unrelated speculation objects having the same hash which, in turn, mitigates the possibility of missing a speculation based optimization opportunity.

Thanks for the review Tom. Longer term, we can improve this API.

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

PR: https://git.openjdk.org/jdk/pull/12532


More information about the hotspot-compiler-dev mailing list