Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19875

TaskData.type values are duplicated in memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.6-rc-1, 14.4.3
    • 14.1-rc-1
    • Index
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Each TaskData instance has a type value, a string representing to type of the task consumer to execute.
      These types are limited (we currently have two: "mentions" and "links").
      But, in memory, each TaskData points to a new instance of the type string, making the memory footprint larger than it could be.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: