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

Overhaul QML GC to support platforms where pointers use more than 48 bits

    XMLWordPrintable

Details

    • Overhaul QML GC

    Description

      QML's gc (and general memory management) relies on NAN tagging to avoid boxing doubles and to quickly categorize what is inside of a QV4::Value.

      NAN tagging breaks however on recent Android versions where the top-byte of pointers is tagged, and we need to store more than 48 bits. For now, Android can be configured to not rely on this. However, this might change already in the near future.

       

      Thus, we need to change to a different approach in QML.

       

      Without this change, QML applications will be broken on Android in the near future.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              fabiankosmale Fabian Kosmale
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes