RFR: 6875: Add agent MXBean operation to return instrumented xml configuration

Marcus Hirt hirt at openjdk.java.net
Tue Aug 18 17:21:56 UTC 2020


On Fri, 24 Jul 2020 22:42:37 GMT, Jessye Coleman-Shapiro <jescolem at openjdk.org> wrote:

> This patch adds the MXBean operation `AgentControllerMXBean.retrieveEventProbes()` to the agent.  This function is the
> counterpart of `AgentControllerMXBean.defineEventProbes()`.

I think it would be nice with a few tests showing the failure modes, and some javadocs around what to expect from the
API (especially in terms of failure modes / exceptions), for example setting invalid XML, setting invalid XML and then
attempting reading it back and so on.

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

Changes requested by hirt (Lead).

PR: https://git.openjdk.java.net/jmc/pull/99


More information about the jmc-dev mailing list