RFR: 8346288: WB_IsIntrinsicAvailable fails if called with wrong compilation level

duke duke at openjdk.org
Thu Jan 2 07:12:35 UTC 2025


On Thu, 19 Dec 2024 07:25:15 GMT, Daniel Skantz <dskantz at openjdk.org> wrote:

> Fixes crashes when calling isIntrinsicAvailable with an incorrect compilation level or incompatible VM flag values.
> 
> Testing: T1-3.
> Extra testing: called isIntrinsicAvailable with compLevel={-2, -1, ..., 5) without extra flags, and with -XX:-TieredCompilation -XX:TieredStopAtLevel={0, 1, ..., 4} and observed no crashes after the fix.

@danielogh 
Your change (at version d0da4caa73e5dbb997e15717e39c99cac65a70bb) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/22823#issuecomment-2567357943


More information about the hotspot-dev mailing list