We use antlr parsing on GAE 1.7 and find a 25 percent load (we do GAE in eclipse locally compared to running a standalone Java application), since it spends 96% of its time in RuntimeHelper.checkRestricted
(We are NOT in GAE 1.6.4, which had the error of additional calls to RuntimeHelper.checkRestricted)
Does anyone know a list of which method calls trigger calls for RuntimeHelper.checkRestricted so that we can avoid this? For some reason I cannot find the documentation of this security manager and what runs it.
One call that repeatedly causes a lot of time to call. antlr.runtime.DFA.predict (IntStream)
Thanks!
source share