JBoss Community

Lazy method transformation

created by adesanctis in Javassist - View the full discussion

I'm using Javassist to instrument method with specific calls.

I'm used to apply modification during class loading, but with big classes with a lot of methods to be instrumented this requires a lot of time (usually 500ms for each method).

Is there a way to intercept a method call and instrument only in that moment a specific method?

 

Thank you

 

Ale

Reply to this message by going to Community

Start a new discussion in Javassist at Community