Google App Engine RuntimeHelper.checkRestricted takes 25x time from antlr GAE Java 1.7

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!

+4
source share
1 answer

Do you know if you use BCrypt? Others have encountered similar problems when using BCrypt. Since then, Google has fixed a problem with the BCrypt extension: http://code.google.com/p/googleappengine/issues/detail?id=7277&thanks=7277&ts=1333530915 How to look for you now?

0
source

All Articles