RFR: 8360776: Enable -XX:+UseAPX as experimental feature in all builds [v2]

Srinivas Vamsi Parasa sparasa at openjdk.org
Mon Jun 30 18:30:24 UTC 2025


> 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`.**

Srinivas Vamsi Parasa has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  8360776: Enable -XX:+UseAPX as experimental feature in all builds

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26029/files
  - new: https://git.openjdk.org/jdk/pull/26029/files/fd3f346c..601ac00f

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

  Stats: 4 lines in 2 files changed: 0 ins; 4 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/26029.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26029/head:pull/26029

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


More information about the hotspot-dev mailing list