On Fri, 13 Dec 2024 12:18:13 GMT, Matthias Baesken <[email protected]> wrote:
>> We should output more information about the JVMTI agents in the hserr file.
>
> Matthias Baesken has updated the pull request incrementally with one
> additional commit since the last revision:
>
> simplify coding
>if no agents are loaded, I would print "JVMTI agents: none" unconditionally.
>Makes it more obvious than just a missing entry; >that could be also an error.
Maybe after the while loop something like this ?
bool first_agent = true;
while (it.has_next()) {
...
}
**if (first_agent) st->print_cr("JVMTI agents: none");**
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22706#issuecomment-2541756666