Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102776

JIT is disabled on Android

    XMLWordPrintable

Details

    • Android
    • 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

      https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qml/configure.cmake?id=39635d025444e61acc0417b088411199b6bea334#n117

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andreasbuhr Andreas Buhr
            andreasbuhr Andreas Buhr
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes