Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11475 QtScript's patches to JavaScriptCore
  3. QTBUG-11692

[QtScript/JavaScriptCore] Add garbage collection callback

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Script
    • None

    Description

      Patch: http://gitorious.org/+qtwebkit-developers/qtwebkit/qtwebkit-qtscript-integration/commit/a3408306fd2d3d61dfa647fb54b310f4f5903caf

      I don't recall why subclassing JSGlobalObject (which we do anyway) and reimplementing markChildren() is not enough.

      FWIW, V8 has a way to register GC callbacks (AddGC

      {Prologue,Epilogue}

      Callback. So trying to add such a callback to the JSC C API seems worthwhile.

      Suggested action(s): Investigate again why this patch is needed. If it is absolutely needed, create an upstream bug to add a C API function for registering a callback.

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes