RFR: 8352187: Don't start management agent during AOT cache creation

Calvin Cheung ccheung at openjdk.org
Sat May 31 00:34:06 UTC 2025


If a management agent is specified when creating an AOT cache, it resulted in `java.lang.IllegalArgumentException`.
To avoid the exception, this fix is not to start the management agent when creating an AOT cache.

Passed tiers 1 - 4 testing.

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

Commit messages:
 - 8352187: Don't start management agent during AOT cache creation

Changes: https://git.openjdk.org/jdk/pull/25562/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25562&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352187
  Stats: 27 lines in 2 files changed: 20 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/25562.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25562/head:pull/25562

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


More information about the hotspot-runtime-dev mailing list