i do not understand why do we have Extension Mechanism functions in JVMTI.
i think it is for registering our own event. but i don't understand how we can do it.
The extension mechanism is to allow implementation-specific functions and events be exposed. In the HotSpot VM the only extension it currently exposes is a ClassUnload event and a function that allows the agent test if class unloading is enabled.