Remove METHOD_ENTRY and METHOD_EXIT events from needed_capabilities in JDWP Agent
Alan Bateman
Alan.Bateman at oracle.com
Wed Jun 21 08:10:07 UTC 2017
On 20/06/2017 20:45, Ronald Servant wrote:
> Looking at the Agent_OnLoad() code in debuginit.c of libjdwp, I see
> that both the METHOD_ENTRY and METHOD_EXIT are listed as required, but
> I don't see where they are ever enabled in the agent.
> In the J9 JVM making it possible to enable these events has severe
> performance penalties. Since the events are not enabled in the JDWP
> agent, simply reserved, we were hoping you'd be open to removing the
> reservation of the capabilities.
>
If the JDWP agent never enables these events then it shouldn't need to
obtain the capabilities. I have a vague recollection that they are
enabled when single stepping, are you sure this isn't the case? Have you
run the tests with without enabling the capabilities?
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20170621/7b43924d/attachment.html>
More information about the serviceability-dev
mailing list