diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-09 11:09:24 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-09 09:44:00 +0000 |
commit | 186887aa56b68a2c0d9049759415db7307123137 (patch) | |
tree | 98b0246dad22941d84c1cd057bddd2ccd66ae2a7 /src/qml/compiler/compiler.pri | |
parent | 3cba637ea6b4109171e5cab678f5ccecaed40809 (diff) |
Reduce file descriptor pressure on Unix platforms
When opening cached compilation units, we can close the file descriptor
after mmap'ing the contents, on Unix platforms.
Change-Id: Ifb797a69743ebdc5e55db0b2e52b5cd66d071ca3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/compiler.pri')
-rw-r--r-- | src/qml/compiler/compiler.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/compiler.pri b/src/qml/compiler/compiler.pri index 02288a8ad7..e80c0236a3 100644 --- a/src/qml/compiler/compiler.pri +++ b/src/qml/compiler/compiler.pri @@ -40,4 +40,6 @@ SOURCES += \ $$PWD/qqmlpropertyvalidator.cpp \ $$PWD/qv4compilationunitmapper.cpp +unix: SOURCES += $$PWD/qv4compilationunitmapper_unix.cpp + } |