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

Daniel Skantz dskantz at openjdk.org
Thu Jan 2 22:15:50 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.

This pull request has now been integrated.

Changeset: 84e6432b
Author:    Daniel Skantz <dskantz at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/84e6432bb73e35b32f12cdc0e1a172b7c973e618
Stats:     9 lines in 1 file changed: 7 ins; 2 del; 0 mod

8346288: WB_IsIntrinsicAvailable fails if called with wrong compilation level

Reviewed-by: kvn, rcastanedalo

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

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


More information about the hotspot-dev mailing list