> 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

Guanqiang Han has updated the pull request incrementally with one additional 
commit since the last revision:

  Fix improper use of FLAG_SET_DEFAULT() under 
!FLAG_IS_DEFAULT(UseAESCTRIntrinsics)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29338/files
  - new: https://git.openjdk.org/jdk/pull/29338/files/7eb2b386..44189900

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29338&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29338&range=01-02

  Stats: 8 lines in 1 file changed: 4 ins; 4 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29338.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29338/head:pull/29338

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

Reply via email to