There's a define in the JavaScriptCore memory manager that can be turned on to perform GC on every allocation: COLLECT_ON_EVERY_ALLOCATION.
However, QtScript crashes (in QScriptEngine constructor) if this define is enabled.
It would be nice if it worked, since it could be useful in debugging GC-related issues.
- resulted in
-
QTBUG-17815 Missing APIShims in obsoleted QScriptValue constructors
-
- Closed
-