You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2021/05/02 09:40:17 UTC
OGNL Security Manager
Hi,
I just noticed a potential performance improvement with omitting
checking if SM is on [1] - it isn't documented, yet by adding
"-Dognl.security.manager=forceDisableOnInit" JVM parameter, OGNL will
skip a bit of boilerplate. I did that here [2] to test the performance
gain.
[1] https://struts.apache.org/security/#run-ognl-expressions-inside-sandbox
[2] https://github.com/the-benchmarker/web-frameworks/pull/4240
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org