I have written a small application using JDI in which I have added MethodEntryRequest and MethodExitRequest for certain classes. Now I am facing 2 issues
1) There is considerable drop in the performance of the target application because of my EventRequest. If page used to come up in 3 seconds now it takes almost 3 minutes. I don't know what am doing wrong here.
2) I can see lot of duplication invocation of both MethodEntryRequest and MethodExitRequest.
Can some one please help me on this? This is very urgent.