Integrated: 8360776: Disable Intel APX by default and enable it with -XX:+UnlockExperimentalVMOptions -XX:+UseAPX in all builds
Srinivas Vamsi Parasa
sparasa at openjdk.org
Fri Jul 11 19:03:46 UTC 2025
On Fri, 27 Jun 2025 22:13:47 GMT, Srinivas Vamsi Parasa <sparasa at openjdk.org> wrote:
> Currently, APX is not enabled consistently between product and debug builds.
>
> If the hardware supports Intel APX:
>
> 1) In product builds, APX is disabled by default, even if the user explicitly enables it using `-XX:+UnlockExperimentalVMOptions -XX:+UseAPX`.
>
> 2) In debug builds, APX is enabled by default regardless of whether the user explicitly enables it or not.
>
> **The goal of this PR is to enable APX for both product and debug builds if and only if the user explicitly enables it using `-XX:+UnlockExperimentalVMOptions -XX:+UseAPX`.**
This pull request has now been integrated.
Changeset: 26b00280
Author: Srinivas Vamsi Parasa <sparasa at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/26b002805ab235d07998eddd486fe66a69f60671
Stats: 16 lines in 4 files changed: 0 ins; 16 del; 0 mod
8360776: Disable Intel APX by default and enable it with -XX:+UnlockExperimentalVMOptions -XX:+UseAPX in all builds
Reviewed-by: sviswanathan, dholmes, jbhateja
-------------
PR: https://git.openjdk.org/jdk/pull/26029
More information about the hotspot-dev
mailing list