Reflection and Performance


Performance and scalability: Reflection and Performance

  1. Reflection and Performance (1 messages)

       I am trying to find out if there is a performance hit on excessive use of java reflection.
       This is in context of a framework which I am using. The framework makes extensive use of reflection even in case where it is absolutely un-necessary. I am trying to find out if the slow performance can be attributed to that.

    Any info would be greatly appreciated,
  2. The reflection API is a performance hog. It should be avoided in cases where performance is an issue (especially if it is unnecessary).