Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.0
-
None
-
-
78c62a9f03 (qt/qtdeclarative/dev) 78c62a9f03 (qt/tqtc-qtdeclarative/dev)
Description
JIT is disabled on Android. Is this on purpose? Or is this an oversight? Can and should we enable JIT on Android?
JIT is currently disabled. When configuring qtdeclarative, the output is
Qt QML: QML network support .................... yes QML debugging and profiling support .... yes QML just-in-time compiler .............. no QML XML http request ................... yes QML Locale ............................. yes
This is due to the code in
JIT is only enabled on "LINUX OR IOS OR TVOS OR QNX OR INTEGRITY".
This CMake code is a port of the code which is removed in
https://codereview.qt-project.org/c/qt/qtdeclarative/+/259277/5/src/qml/jsruntime/qv4global_p.h
Also there, no Android:
#elif defined(Q_PROCESSOR_ARM_64) && (QT_POINTER_SIZE == 8) # if defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_INTEGRITY) # define V4_ENABLE_JIT
Attachments
For Gerrit Dashboard: QTBUG-102776 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
406834,3 | Enable JIT on Android | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
407288,2 | Don't expect jit to be enabled on Android | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
409963,2 | Don't expect jit to be enabled on Android | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |