Java动态代理的性能成本 [英] Performance cost of Java dynamic proxy

查看:317
本文介绍了Java动态代理的性能成本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

许多现代框架(Spring,Hibernate)使用Java动态代理提供了非常好的动态行为,但与之相关的确切性能成本是多少?是否有针对Sun JVM的公共基准测试?

Many modern frameworks (Spring, Hibernate) provide very nice dynamic behaviors with use of Java dynamic proxies, but what's the exact performance cost associated with it? Are there public benchmarks available for Sun JVM?

推荐答案

一些指示:

  • Debunking myths: proxies impact performance (have a look at the comments too)
  • Java theory and practice: Decorating with dynamic proxies
  • Benchmarking the cost of dynamic proxies

这篇关于Java动态代理的性能成本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆