We are using *antlr* parsing on GAE 1.7 and find a 25x overhead running on 
GAE v. standalone Java app because it spends 96% of its time in 
RuntimeHelper.checkRestricted()!!

(We are NOT in GAE 1.6.4 which had a bug of extra calls to 
RuntimeHelper.checkRestricted)

Does anyone know a list of which method calls trigger calls to 
RuntimeHelper.checkRestricted so that we can potentially avoid those 
please? For some reason I can't find any documentation of this security 
manager and what triggers it.

One call which repeatedly triggers a time-consuming call to checkRestricted 
seems to be antlr.runtime.DFA.predict(IntStream)

How can we avoid this impossibly big security overhead please - thanks!

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/yWpCiBYpl7AJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to