Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8100554

Rect object removal in prism RectanglePacker is very inefficient

    Details

      Description

      Rect object removal in RectanglePacker is implemented as a linear search algorithm in a two-dimensional ArrayList, which is very inefficient when the number of objects is large.
      In particular, it affects the SpiralText test with long delays (~100ms) of glyph cache cleaning occurring approximately two times per second thus creating a visible stuttering effect.

        Attachments

          Activity

            People

            • Assignee:
              yaow Yao Wang (Inactive)
              Reporter:
              omazurov Oleg Mazurov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: