Java Security Manager是否会降低性能? [英] Does Java Security Manager decrease performance?

查看:116
本文介绍了Java Security Manager是否会降低性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实现Java安全管理器是否会导致性能下降?

Does implementing the Java Security Manager result in decreased performance?

推荐答案

这完全取决于实现细节和应用程序.

That depends entirely on the details of the implementation, and on the application.

当然可以实现需要花费很长时间检查某些权限的安全管理器,以及需要非常频繁地检查这些权限的应用程序,从而导致可怕的性能.

It's certainly possible to implement a Security Manager that takes a long time to check certain permissions and an application that requires these premissions to be checked very frequently, resulting in horrible performance.

但是通常情况下,检查权限的发生频率不足以导致性能显着下降.

But typically, checking permissions does not happen often enough to cause significant performance decreases.

这篇关于Java Security Manager是否会降低性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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