RFR: 8257967: JFR: Events for loaded agents [v16]
Markus Grönlund
mgronlun at openjdk.org
Thu Apr 13 11:48:43 UTC 2023
On Thu, 13 Apr 2023 10:07:50 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> What was the reason to clone the classes below ?: `JvmtiJavaThreadEventTransition` => `AgentJavaThreadEventTransition` `JvmtiThreadEventMark` => `AgentThreadEventMark` `JvmtiEventMark` => `AgentEventMark`
The reason is they are used when invoking Agent_OnAttach. Those classes are defined in jvmtiExport.cpp, so not reachable. I considered exporting them, but it would require additional headers to be included. I opted for just replicating them, also with static linkage.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12923#issuecomment-1506825122
More information about the serviceability-dev
mailing list