On Wed, 21 Jan 2026 08:32:59 GMT, Guanqiang Han <[email protected]> wrote:
> Please review this change. Thanks! > > **Description:** > > VM crashes during startup on x86 when running with -XX:+UseAESCTRIntrinsics > -XX:-UseAES. In this configuration, UseAESCTRIntrinsics may remain enabled > while UseAES is explicitly disabled, and the VM generates AES-CTR stubs, > hitting an assert(UseAES) in generate_counterMode_AESCrypt_Parallel(). > > **Fix:** > > Update x86 flag initialization to enforce the dependency between > UseAESCTRIntrinsics and UseAES. When UseAES is disabled, explicitly disable > UseAESCTRIntrinsics (with a warning when it was set on the command line), > aligning behavior with the existing UseAES/UseAESIntrinsics gating and > avoiding stub generation with inconsistent flag states. > > **Test:** > > GHA This pull request has now been integrated. Changeset: a69409b0 Author: Guanqiang Han <[email protected]> Committer: SendaoYan <[email protected]> URL: https://git.openjdk.org/jdk/commit/a69409b0b7bcb4eb9a66327e1c6c53b3361ea1e9 Stats: 51 lines in 2 files changed: 47 ins; 4 del; 0 mod 8374516: -version asserts with "-XX:+UseAESCTRIntrinsics -XX:-UseAES": "need AES instructions and misaligned SSE support" in generate_counterMode_AESCrypt_Parallel() Reviewed-by: kvn ------------- PR: https://git.openjdk.org/jdk/pull/29338
