On Thu, 13 Apr 2023 10:07:50 GMT, Serguei Spitsyn <sspit...@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