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

Calvin Cheung ccheung at openjdk.org
Mon Jun 2 16:50:14 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.

Calvin Cheung has updated the pull request incrementally with two additional commits since the last revision:

 - Update test/hotspot/jtreg/runtime/cds/appcds/aotCache/ManagementAgent.java
   
   Co-authored-by: Aleksey Shipilëv <shipilev at amazon.de>
 - place the new test in a new file

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25562/files
  - new: https://git.openjdk.org/jdk/pull/25562/files/abeb7b6f..e694a720

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

  Stats: 75 lines in 2 files changed: 64 ins; 11 del; 0 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