summaryrefslogtreecommitdiffstats
path: root/doc/src/development
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-02-25 15:45:34 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2011-02-25 16:09:23 (GMT)
commitaa1e47a5a1a0978979e98f503cb44c85fc88dece (patch)
tree970ffd0fe292c45296561e5403d76627da21cb2d /doc/src/development
parent2af7bc6259e41415817cadb456909f33249225ed (diff)
downloadQt-aa1e47a5a1a0978979e98f503cb44c85fc88dece.zip
Qt-aa1e47a5a1a0978979e98f503cb44c85fc88dece.tar.gz
Qt-aa1e47a5a1a0978979e98f503cb44c85fc88dece.tar.bz2
Make QtScript support COLLECT_ON_EVERY_ALLOCATION define
JSC has a define in runtime/Collector.cpp that can be enabled to force garbage collection on every allocation. This can be useful when investigating GC-related issues. When the define is enabled, GC callbacks will happen before the QScriptEngine(Private) is completely initialized, so we need to initialize some things earlier (nice cleanup, actually), and add some guards in the marking callback. All tests pass with define off and on. Task-number: QTBUG-17781 Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src/development')
0 files changed, 0 insertions, 0 deletions