RFR: 8118: Add user configuration for delay between JVM discovery and attachment
Alex Macdonald
aptmac at openjdk.org
Thu Oct 12 14:20:55 UTC 2023
On Wed, 11 Oct 2023 21:19:32 GMT, Marcus Hirt <hirt at openjdk.org> wrote:
> That sounds like an issue we should fix in the JDK. That said, the workaround looks reasonable and is a good escape hatch for people currently experiencing this problem.
>
> Do you know if there is an issue reported on the JDK for this?
In this case I think it's more an issue with the underlying application, but perhaps there could be a more broad way of signalling that a jvm is ready for attachment. There's an old issue I had found on the RH Bugzilla (from 2013) that details a similar instance to this, although it's with VisualVM instead of JMC: https://bugzilla.redhat.com/show_bug.cgi?id=1037970. I've also found similar stack traces through Google suggesting other people have encountered similar failures due to dynamic agent attachment, so I think it's more an issue with JBoss EAP than anything.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/513#issuecomment-1759558211
More information about the jmc-dev
mailing list