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

Prism: com/sun/prism/impl/Disposer.java needs better queue management.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx


      Initially Disposer.java removed {count} objects at a time from the Disposer queue.
      {count} was hard-coded to 5.

      On TV the VM timings are different to Desktop, and a busy app could easily add more object to
      the queue than were being removed. On Canmore we measured 17 additions for every 5 removals.
      This would lead to OOM exceptions.

      As a late fix to Soma, TV changed the behaviour to process all objects in the queue when called.

      For Presidio we should add management for the queue to track additions, and avoid both OOM
      errors, and having to purge the queue every time it's called.


            ckyang Chien Yang (Inactive)
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: