Does implementing the Java Security Manager result in decreased performance?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.