diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-07-28 15:15:46 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-08-03 08:27:32 +0000 |
commit | 2d27c5531027368eaa41d26ced4dceb936f9c7a3 (patch) | |
tree | 50a150fd6a5f4592ec419156eb864f3568ea042f /src/app | |
parent | c2cfc62f08f8c04b4795cc13cfd460153749c653 (diff) |
Clang: Suspend least recently used translation units
...to free some memory.
The translation units of the 7 most recently used documents ("hot
documents", tracked by document visibility) are kept in memory.
Translation units of other documents are suspended and will be resumed
once they become visible again.
The resumption of a translation unit needs the same time as reparse
(since it is a reparse effectively).
The number of hot documents can be modified by the run time environment
variable QTC_CLANG_HOT_DOCUMENTS=N. Visible documents are always hot.
Task-number: QTCREATORBUG-11640
Change-Id: I68ecd2b1373e303372300203e42d90f65a4b39b3
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/app')
0 files changed, 0 insertions, 0 deletions