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

Vladimir Kozlov kvn at openjdk.org
Thu Dec 19 20:22:49 UTC 2024


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.

Looks good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22823#pullrequestreview-2516092478


More information about the hotspot-dev mailing list