Does Java Security Manager decrease performance?

2019-07-12 15:54发布

Does implementing the Java Security Manager result in decreased performance?

1条回答
老娘就宠你
2楼-- · 2019-07-12 16:24

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.

查看更多
登录 后发表回答