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

Calvin Cheung ccheung at openjdk.org
Mon Jun 2 16:50:14 UTC 2025


On Sat, 31 May 2025 00:30:09 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

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

After discussion with Ioi offline, I've move the new test to a new file `aotCache/ManagementAgent.java`.

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

PR Comment: https://git.openjdk.org/jdk/pull/25562#issuecomment-2931541114


More information about the hotspot-runtime-dev mailing list