diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-02-13 10:51:33 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-02-13 12:19:04 +0000 |
commit | efc7f85520f19dfc5628704cfb5bbe3bc546297f (patch) | |
tree | 38b96fefe4d771d5405688222e2feebc0344f571 /configure.json | |
parent | 0e64bd96fbf26855a65e38847083dbd2c6bee4ac (diff) |
Prevent huge arrays to overflow the JS stack during GC
The JS stack is used as a worklist while marking in order to prevent
recursion overflowing the C stack. Now if all contents of an array are
pushed onto the stack, it can easily cause an overflow. To prevent this,
drain the stack periodically.
This is fix that should not go into 5.11, as it's already fixed there by
using a ValueArray that will have this exact behavior.
Change-Id: Id5bd28879f6ef0265344d9a70c25f6c66b067309
Task-number: QTBUG-62087
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'configure.json')
0 files changed, 0 insertions, 0 deletions