Performance cost of Java dynamic proxy Performance cost of Java dynamic proxy java java

Performance cost of Java dynamic proxy


I don't know if there is any performance analysis in the framework you mentioned, but in my project lambdaj I made a very large use of dynamic proxy using the same technology (cglib). In the pdf that explains how my library works you can also find an interesting performance comparison on this subject.


According to Remi Forax, java proxy forbid the Jit compiler to do correctly his job (inlining in this case).

See his rewrote of Proxy

https://github.com/forax/proxy2