Qt Declarative (Quick 2)
Go to file
Erik Verbruggen 74f75a3a12 V4: Limit call depth by count, not by checking the native stack.
Getting the native stack size can be really expensive. For example, on
Linux/x86_64 (Ubuntu 15.04), it is at least 200,000 instructions for a
single-threaded application. With more threads (like qmlscene) it typically
ends up around 1M(!) instructions. Worse, it is called twice in the
ExecutionEngine constructor.

So, now we limit the depth of JavaScript calls to a fixed number, 1234 by
default. This can be changed by setting the environment variable
QV4_MAX_CALL_DEPTH to the desired depth.

Change-Id: Ic13c8efb2769e64fbc73deee6f6fa39d7c0b7af5
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2016-05-11 11:11:34 +00:00
bin
dist Added change log for 5.6.0 2016-02-26 09:34:34 +00:00
examples QML extensions tutorial: Add import plugin to app. bundle on OS X 2016-04-16 02:25:23 +00:00
src V4: Limit call depth by count, not by checking the native stack. 2016-05-11 11:11:34 +00:00
tests QML: add librarymetrics_performance to the builds. 2016-05-10 17:29:39 +00:00
tools Add benchmarks to the "make benchmark" targets that are known to work 2016-03-17 13:22:44 +00:00
.gitattributes
.gitignore
.gitmodules Update Ecmascript testsuite submodule 2015-03-17 11:38:42 +00:00
.qmake.conf Bump version 2016-02-08 14:55:56 +01:00
.tag
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPLv3 Add the GPLv3 license text 2015-08-13 15:04:27 +02:00
LICENSE.LGPLv3 Add the GPLv3 license text 2015-08-13 15:04:27 +02:00
LICENSE.LGPLv21
qtdeclarative.pro Fix error message when Python could not be found 2016-03-09 16:17:59 +00:00
sync.profile Merge remote-tracking branch 'origin/5.5' into dev 2015-03-17 09:52:19 +01:00