RFR: 8346288: WB_IsIntrinsicAvailable fails if called with wrong compilation level
Daniel Skantz
dskantz 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.
Thanks for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22823#issuecomment-2567357320
More information about the hotspot-dev
mailing list