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

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Mon Dec 23 15:09:36 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.

Marked as reviewed by rcastanedalo (Reviewer).

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

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


More information about the hotspot-dev mailing list