Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12318

Query.maxResult() ignored during entity loading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 12.0.0.Dev04
    • 12.0.0.Dev03
    • Embedded Querying
    • None

    Description

      When a query has a maxResult it should not try to load/collect/read/hidrate all hits but rather restrict it to the requested page size. This causes unnecessary allocations of Strings and byte[]. In particular, the KeyTransformationHandler#stringToKey method produces a large amount of garbage.

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            gfernand@redhat.com Gustavo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: