RFR: 8356693: AOT assembly phase fails with -javaagent
Ioi Lam
iklam at openjdk.org
Tue May 13 21:02:51 UTC 2025
On Tue, 13 May 2025 20:45:24 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> Instead of intercepting here would it be better if we can clear `JvmtiAgentList::_list` in `CDSConfig::check_aotmode_create()`?
That's what I had in an earlier version, but then there's no code to free the allocated entries, and I am too lazy to write the deallocator.
Either way the effect is the same. The trivial amount of memory used by the entries are not reclaimed, but the VM will exit after a finite amount of time anyway, after the cache creation is finish.
I thought intercepting it here is a bit cleaner and avoids the awkward question of freeing the entries.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25170#discussion_r2087626021
More information about the hotspot-dev
mailing list