Is it possible to retrieve the current jobject when the method entry or method exit event is triggered? I would like to tag the jobjects which are entered on certain methods. Currently I can only retrieve the method defining class, but not the object.
In the JVMTI API I don't find anything similiar.
I could iterate over all instances of the method definining class in the heap, this would, however, not give me any information on which object exactly the method was called.