0 Replies Latest reply on Jul 31, 2012 5:27 AM by adesanctis

    Lazy method transformation

    adesanctis

      I'm using Javassist to instrument methods 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?

       

      In alternative, is there a way to improve performance for insertAfter and insertBefore?

       

      Thank you

       

      Ale